Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege patients/med user
-
ExploitObtain global rule_patient_data row ID
-
ExecutionPOST form_entryID to clinical-rule editor
-
ImpactOverwrite 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
EUVD-2026-125005
GHSA-6435-h76v-5pp2
NVD
CVE.org
EPSS
Exploit-DB