Skip to main content
CVE-2026-126491VulnerabilityPublished

OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-126491· High 8.3

Not known to be exploited · CVSS 8.3 High : upgrade to 8.5.0 soon.

Data as of 13 Nov 2026, 14:01 UTC

CVSS 4.0 base score
8.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.3
CNA (VulnCheck)CVSS 3.17.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
openemropenemrAffected
  • <8.5.0
Fixed in
  • 8.5.0

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.

References

Community reviews

Loading reviews…