CVE-2026-126491

OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options field_id values are concatenated into the patient search WHERE clause. Attackers with Layout Editor access can plant a malicious field_id, allowing any authenticated low-privilege user to exfiltrate data from patient_data and users_secure tables.
Configurations

Configuration 1 (hide)

cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*

History

17 Nov 2026, 14:17

Type Values Removed Values Added
References () https://github.com/openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899 - Exploit, Vendor Advisory () https://github.com/openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899 - Exploit, Vendor Advisory

13 Nov 2026, 19:39

Type Values Removed Values Added
References () https://github.com/openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899 - () https://github.com/openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899 - Exploit, Vendor Advisory
References () https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-getbypatientdemographics-in-patient-inc-php - () https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-getbypatientdemographics-in-patient-inc-php - Third Party Advisory
CPE cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
First Time Open-emr openemr
Open-emr

13 Nov 2026, 10:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-13 10:17

Updated : 2026-11-17 14:17


NVD link : CVE-2026-126491

Mitre link : CVE-2026-126491

CVE.ORG link : CVE-2026-126491


JSON object : View

Products Affected

open-emr

  • openemr
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')