OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options
Source GCVE Database
Not known to be exploited · CVSS 8.3 High : upgrade to 8.5.0 soon.
Data as of 13 Nov 2026, 14:01 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.6 |
- Patch
- Available – fixed in 8.5.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:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade openemr to 8.5.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| openemropenemr | Affected
| Fixed in
|
AI-suggested
A fixed version 8.5.0 or later of OpenEMR addresses this vulnerability. Until patched, restrict Layout Editor access to trusted users only to reduce risk. Avoid granting Layout Editor privileges broadly. Monitor for vendor updates and apply official fixes promptly once available.
Description
OpenEMR versions prior to 8.5.0 have a stored SQL injection vulnerability in the getByPatientDemographics() function. This flaw arises because layout_options field_id values are concatenated directly into the patient search WHERE clause. An attacker with Layout Editor privileges can insert a malicious field_id, enabling any authenticated low-privilege user to exfiltrate sensitive data from patient_data and users_secure tables.