Skip to main content

OpenEMR CVE-2026-126438

| EUVDEUVD-2026-125005 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-13 VulnCheck GHSA-6435-h76v-5pp2
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege patients/med user
  2. Exploit
    Obtain global rule_patient_data row ID
  3. Execution
    POST form_entryID to clinical-rule editor
  4. Impact
    Overwrite completion date, state, and result

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated OpenEMR account holding only the read-only patients/med=view ACL grant (or any patients/med level, since the editor's ACL check lacks a return-mode), reachable over the network. The attacker must supply a valid global rule_patient_data.id via the entryID/form_entryID parameter to interface/patient_file/rules/patient_data.php and a valid CSRF token obtained from the edit form. Limiting factors: a valid authenticated session is mandatory (PR:L - not unauthenticated), the impact is confined to clinical-rule records (date, completion state, free-text result) with no confidentiality or availability effect, and the attacker must know or enumerate the target's global row ID. The cross-squad modification angle applies only to sports-squad deployments; in a standard practice-wide patients/med configuration, cross-patient access is not independently claimed. A public PoC reference exists in the GHSA/VulnCheck advisory; it is not verified as working exploit code, and the read-only-role variant was not dynamically re-run.

Impact

This is a genuine but moderate-severity authorization flaw, not a drop-everything emergency. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VI:L and all other impacts N yields 5.3 (Medium), and the mechanism supports it: a network-reachable, low-privilege (authenticated) user with no user interaction can tamper with a limited class of records (clinical-rule completion date, state, and free-text result) - a confined integrity impact with no confidentiality or availability effect beyond reading the target row's existing values. The vuln.today decision label is 'this_month' (priority, not act_now/emergency), consistent with a real but non-urgent fix. No EPSS score was provided and the CVE is not in CISA KEV, so there is no signal of active or widespread exploitation. The GHSA/VulnCheck advisory includes full reproduction steps, but note a key nuance stated in the evidence: the cross-patient overwrite was dynamically confirmed on v8.4.1 only with a broader write-capable role, while the headline read-only (patients/med=view) bypass is inferred from the mode-less ACL check and OpenEMR's documented ACL return semantics and was NOT re-run after the lab was torn down - so the most alarming framing (fully read-only user writing records) is code-confirmed but not dynamically reproduced. Net: a real insider/low-privilege integrity risk worth patching this cycle, not a high-CVSS-but-hollow finding, but also not evidence of mass exploitation.

Exploit ScenarioDerived

A low-privilege OpenEMR staff account (read-only patients/med grant) submits a crafted POST to the clinical-rule editor with a global form_entryID pointing at another patient's rule_patient_data row, overwriting that row's completion date, completion state, and free-text clinical result - potentially a patient outside the user's configured sports-squad boundary. The GHSA advisory provides full GET/POST reproduction steps; the cross-patient overwrite was confirmed live on v8.4.1, though with a write-capable role rather than the read-only role for the headline scenario. Attack complexity is low (AC:L) and no user interaction is needed, but the attacker must already hold a valid authenticated session (PR:L) and know a global row ID.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Authenticated OpenEMR users whose patients/med grant is the read-only 'view' level can overwrite clinical-rule records - completion date, completion state and free-text result - because the rule editor at interface/patient_file/rules/patient_data.php performs its ACL check without a return mode and then updates rule_patient_data rows by global row ID alone. All releases from 4.1.0 through 8.4.1 (i.e. before 8.5.0) are affected per commit-history analysis. A public PoC reference exists in the GHSA/VulnCheck advisory; it is not verified as working exploit code, and the narrow read-only-role variant was not dynamically reproduced after the researcher's lab was removed - the confirmed live test used a broader write-capable role. The impact is limited to integrity of clinical-rule records with no confidentiality or availability effect, so this is a genuine but moderate-severity authorization flaw rather than a drop-everything emergency.

RemediationAI

Vendor-released patch: upgrade to OpenEMR 8.5.0, which is the fixed version listed in the GitHub advisory (GHSA-xqq3-59h5-xhmr) and the VulnCheck advisory; patch status is 'available from vendor' and the upstream recommendation is to require patients/med 'write' for updates and 'addonly' or 'write' for inserts, to resolve a row's patient before returning or changing it, to enforce any configured squad restriction, and to include the verified patient ID in the UPDATE predicate. No CVE-listed workaround exists short of that code change, so interim compensating controls must be applied at the deployment edge: restrict or block access to /interface/patient_file/rules/patient_data.php for accounts that only hold patients/med 'view' (for example via web-server or reverse-proxy authorization rules), accepting that those users then lose the ability to view or edit clinical-rule entries altogether; or temporarily raise affected accounts to a write level only where clinically justified, which removes the read-only safeguard but ensures only trusted staff can reach the editor. Because exploitation needs a valid session and CSRF token, forcing session re-authentication and reviewing rule_patient_data rows for unexpected changes in date, complete and result fields helps detect abuse in the meantime. Consult the vendor advisory before deploying any of these controls.

Affected VersionsENISA

OpenEMR 0 <8.5.0

Affected Packages

euvd openemr fix: 8.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenEMR is a PHP-based electronic medical records and practice-management application that exposes granular ACL grants such as patients/med, where the documented 'view' return value is intended to be read-only. The clinical-rule editor in interface/patient_file/rules/patient_data.php pulls the current patient from the session ($pid) and correctly uses it when listing existing entries, but when an entryID arrives it loads the row with a bare SELECT of date, complete and result WHERE id=?, and the POST branch issues an UPDATE of date, complete and result WHERE id=$form_entryID - neither statement includes the session patient in the predicate nor verifies the row belongs to an authorized patient. The root cause is CWE-863 (incorrect authorization), also tracked upstream as CWE-284: the ACL check is issued without a required return mode, so any patients/med level passes, and object-level ownership is never enforced, producing an insecure direct object reference on rule_patient_data.id. Exploitation requires a valid authenticated session, a valid CSRF token harvested from the edit form, and knowledge or enumeration of the target's global row ID; the trigger path is confirmed from source, while the 'view'-mode bypass is inferred from the mode-less ACL check and OpenEMR's documented return semantics rather than re-run dynamically. In sports-squad deployments the global-ID mismatch additionally crosses the configured squad boundary; in a standard practice-wide patients/med configuration ordinary cross-patient access is not independently claimed because that grant is otherwise practice-wide.

Know when Openemr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Authenticated low-privilege user (PR:L) exploits a network-reachable editor with no user interaction (AC:L/UI:N); impact is limited record tampering (I:L) with no confidentiality or availability effect; same security authority so S:U.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

DescriptionCVE.org

OpenEMR before 8.5.0 contains an improper authorization vulnerability in interface/patient_file/rules/patient_data.php that allows read-only patients/med users to modify clinical-rule records. Attackers can submit a global form_entryID row ID to overwrite completion date, state, and result, including records of patients outside their configured squad.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
OpenEMR is a leading open-source EHR, common but not ubiquitous in production
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy