CVE-2026-126491
JSON

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 packageVersionsReported by
openemr openemrbefore 8.5.0
Not affected: 8.5.0
CVE List
open-emr openemrbefore 8.5.0NVD

All scores

VulnCheck8.3high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
VulnCheck7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N

Classification

CWE-89

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126491 changed 2026-11-17CVE Terms of Use
NVDCVE-2026-126491 changed 2026-11-17Public domain