CVE-2026-126491
8.3high
OpenEMR before 8.5.0 SQL Injection via getByPatientDemographics in patient.inc.php
- Severity
- 8.3high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| openemr openemr | before 8.5.0 Not affected: 8.5.0 | CVE List |
| open-emr openemr | before 8.5.0 | NVD |
All scores
| VulnCheck | 8.3high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N |
| VulnCheck | 7.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126491 changed 2026-11-17 | CVE Terms of Use |
| NVD | CVE-2026-126491 changed 2026-11-17 | Public domain |