freenode

← CVE tracker

CVE-2026-126491

OpenEMR before 8.5.0 SQL Injection via getByPatientDemographics in patient.inc.php

Severity
high CVSS 8.3 (v4.0)
Affects
openemr
Weakness
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
13 November 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.