Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Web

CVE-2026-126491 — openemr

High · CVSS 8.3EPSS 0.4% First seen November 13, 2026

One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.

WebVulnerabilities

Research article

OpenEMR SQL Injection Vulnerability in Versions Before 8.5.0

CVECVE-2026-126491
Vendor and productopenemr
PublishedNovember 24, 2026 17:36 UTC
Research cut-offNovember 24, 2026 16:45 UTC
Sources reviewed3: NVD record (last modified 2026-11-17); CISA KEV catalog; FIRST EPSS (2026-11-24)

Executive summary

CVE-2026-126491 impacts OpenEMR versions prior to 8.5.0, with a CVSS 3.1 score of 7.6 HIGH [1]. The flaw allows authenticated users with specific access to extract data from sensitive databases [1]. The reviewed sources do not confirm any exploitation [2]. The recommended action is to upgrade to version 8.5.0 [1].

Key points

  • CVE-2026-126491 affects OpenEMR versions before 8.5.0 [1].
  • A SQL injection flaw exists in the `getByPatientDemographics()` function [1].
  • The vulnerability requires high privileges and no user interaction [1].
  • The CVSS 3.1 score for this vulnerability is 7.6 HIGH [1].
  • CVE-2026-126491 is not listed in the CISA KEV catalog [2].

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0CVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-126491OpenEMROpenEMRCWE-898.3 HIGH, scored by disclosure@vulncheck.com (Secondary)7.6 HIGH, scored by disclosure@vulncheck.com (Secondary)2026-11-13T10:17:592026-11-17T14:17:35Modified

Vulnerability description

A SQL injection vulnerability exists in the getByPatientDemographics() function of OpenEMR versions before 8.5.0. This issue occurs when fieldid values from the layoutoptions parameter are directly appended to the SQL query used for searching patient records [1]. Attackers who have access to the Layout Editor can manipulate these fieldid values to perform unauthorized data extraction from the patientdata and userssecure tables [1].

Attack surface and exploitation prerequisites

The CVSS 3.1 scoring indicates that the vulnerability requires high-level access and no user interaction. The attack can be initiated over a network, but it does not affect system availability [1].

Impact analysis

The vulnerability allows attackers to access confidential data, as reflected in the CVSS 3.1 score, which highlights a high confidentiality impact and a low integrity impact. There is no effect on system availability [1]. The description indicates that attackers can gain access to sensitive patient and user information [1].

Affected products and versions

AffectedFixed
openemr < 8.5.08.5.0

Exploitation and threat intelligence status

CVE-2026-126491 is not listed in the CISA KEV catalog as of 2026-11-24 [2]. The estimated probability of exploitation within the next 30 days is 0.30%, according to the EPSS score [3].

Detection and exposure assessment

Organizations should verify if they are running OpenEMR versions below 8.5.0 [1]. The reviewed sources do not provide specific detection procedures.

Remediation

The recommended solution is to upgrade to OpenEMR version 8.5.0 [1]. No alternative mitigation measures are mentioned in the reviewed sources.

Remediation checklist

  1. Upgrade OpenEMR to version 8.5.0 [1].
  2. Restricting access to the Layout Editor is general guidance, not advice from the sources.
  3. Monitoring for signs of unauthorized data access is general guidance, not advice from the sources.
  4. Performing a security audit of OpenEMR instances is general guidance, not advice from the sources.

Evidence gaps

  • The sources do not describe the internal workings of the affected component.
  • The sources do not mention any temporary workaround.
  • The sources do not outline the attack lifecycle.
  • The sources do not provide indicators of compromise.
  • The sources do not list any fixed version beyond 8.5.0.

References

  1. CVE-2026-126491 record. NIST National Vulnerability Database (NVD), 2026-11-17. https://nvd.nist.gov/vuln/detail/CVE-2026-126491. Accessed 2026-11-24. CVE record, CVSS scores, CWE, affected versions, description
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24. KEV status
  3. EPSS score for CVE-2026-126491. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126491. Accessed 2026-11-24. EPSS score

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.3 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker with administrator rights can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
yes, an administrator account
User action needed
no
Impact
high on confidentiality, low on integrity, none on availability
Impact on other systems
high on confidentiality, low on integrity, none on availability

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 7.6 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected and fixed versions

ProductAffected versionsFixed in
openemr< 8.5.08.5.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

Public exploits

Exploit available Exploit code or a detailed exploitation write-up is public, so attacks are easier to carry out.

References by type

Other references

Details from NVD (public domain).

Affected

  • openemr

Frequently asked questions

What is CVE-2026-126491?

CVE-2026-126491 impacts OpenEMR versions prior to 8.5.0, with a CVSS 3.1 score of 7.6 HIGH. The flaw allows authenticated users with specific access to extract data from sensitive databases. The reviewed sources do not confirm any exploitation. The recommended action is to upgrade to version 8.5.0. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).

How severe is CVE-2026-126491?

CVE-2026-126491 has a CVSS 4.0 base score of 8.3 (high), from the CNA (vulncheck.com). An attacker with administrator rights can exploit this over the network, without any user action.

Is CVE-2026-126491 being exploited?

Not as far as is known: CVE-2026-126491 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-126491?

openemr < 8.5.0 (fixed in 8.5.0).

How do I fix CVE-2026-126491?

Upgrade OpenEMR to version 8.5.0. Restricting access to the Layout Editor is general guidance, not advice from the sources. Monitoring for signs of unauthorized data access is general guidance, not advice from the sources.

Timeline & sources

References