CVE-2026-126491

High

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.

SeverityHigh
CVSS7.6
Exploit probability—
ProductOpenemr
PublishedNov 13, 2026
First seenNov 13, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • openemr openemr8.5.0 or later
  • open-emr openemr8.5.0 or later

Affected products

ProductAffected versionsFixed in
openemr openemrv < 8.5.08.5.0
open-emr openemrv < 8.5.08.5.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.