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.

Project Subscriptions

Vendors Products
Open-emr Subscribe
Openemr Subscribe
Openemr Subscribe
Openemr Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 14 Nov 2026 01:00:00 +0000

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr

Fri, 13 Nov 2026 09:45:00 +0000

Type Values Removed Values Added
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.
Title OpenEMR before 8.5.0 SQL Injection via getByPatientDemographics in patient.inc.php
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-89
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N'}

cvssV4_0

{'score': 8.3, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-13T09:34:45.073Z

Reserved: 2026-11-10T21:45:21.806Z

Link: CVE-2026-126491

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-11-13T10:17:59.600

Modified: 2026-11-13T19:39:18.380

Link: CVE-2026-126491

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-14T16:45:19Z

Weaknesses