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.
CVE-2026-126491
CVSS base score
7.6 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-89
Last modified
November 17, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N
Affected products
open-emr openemr
References
- github.com Exploit, Vendor Advisory
- www.vulncheck.com Third Party Advisory
- github.com Exploit, Vendor Advisory