Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as restricted core account
-
DeliveryRequest victim's global procedure-order ID
-
ExploitRead cross-patient clinical history and order details
-
ExecutionSelect victim patient and encounter in session
-
PersistSubmit bn_save to overwrite the order
-
ImpactFalsify diagnosis, instructions, and order status
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 | Exploitation requires only a valid authenticated OpenEMR core account that lacks the patients/lab (Procedure Order form) permission - no administrative rights and no special configuration are needed for the read-disclosure and database-overwrite paths against a default OpenEMR deployment before 8.5.0. The attacker needs the numeric procedure_order_id of a target order (read path) and, for modification, must select the target patient and encounter in their own session before submitting the normal bn_save action with a valid CSRF token. The principal limiting factor is that an authenticated account is mandatory (PR:L), so this is an insider/compromised-credential exposure, not anonymous remote compromise. One additional impact - transmitting the falsified order to an external laboratory via bn_xmit - is further gated on the deployment having a configured laboratory integration, and that path was not exercised in the vendor's validation. |
| Impact | This is a credible operational priority, not merely a high-CVSS paper risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H) describes network-reachable exploitation at low attack complexity requiring only low privileges, which matches the advisory exactly: any authenticated core account - even one explicitly lacking the patients/lab permission - can read and overwrite other patients' procedure orders. The vendor (OpenEMR GHSA-q5c6-96vf-rx9v) confirms the root cause (missing AclMain::aclCheckForm() plus a session-PID-only ownership check) and provides a validated reproduction on v8.4.1, so the mechanism and both read and write impacts (VC:H confidentiality of clinical history, VI:H integrity of diagnoses/orders) are evidence-backed rather than inferred. Signals to weigh against urgency: there is no CISA KEV listing and no EPSS score in the input, so there is no evidence of active or widespread exploitation; vuln.today's decision label is this_week (not act_now/emergency), consistent with a serious but non-emergency authenticated-insider flaw. The limiting factor that keeps this below the worst tier is PR:L - the attacker must already hold a valid OpenEMR account - so realistic risk centers on malicious or compromised staff/insider accounts rather than anonymous internet attackers. A patch is available (fixed in 8.5.0), which should drive remediation this week. |
| Exploit ScenarioDerived | A low-privilege staff member (or an attacker using a stolen/weak staff credential) logs into OpenEMR and, despite lacking the patients/lab permission, requests another patient's global procedure-order ID to read their clinical history, diagnoses, and specimen details, then switches their session to that patient and submits the ordinary save action to falsify the diagnosis, instructions, and order status. The GHSA advisory includes a validated, detailed reproduction (HTTP GET/POST requests confirmed on v8.4.1), so a working trigger is publicly documented, though it is distributed as reproduction steps rather than packaged exploit code. Exploitation is remote and low-complexity but requires an authenticated account (PR:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Missing authorization in OpenEMR's Procedure Order encounter form (interface/forms/procedure_order/common.php) allows any authenticated core account that lacks the patients/lab permission to read and rewrite other patients' laboratory orders. The read branch fetches an order by a global numeric ID without tying it to the caller's active patient, so an attacker who knows or guesses an order ID receives another patient's ordered tests, clinical history, diagnosis, instructions, provider, priority, status, collection and specimen data; the save branch only checks that the order belongs to the patient the caller selected in their own session, so submitting the ordinary bn_save action overwrites those fields. Affected are OpenEMR releases before 8.5.0 (confirmed on 8.4.1 in the official container, with commit-history analysis tracing the exposure back to 4.0.0); the vendor advisory GHSA-q5c6-96vf-rx9v documents a validated reproduction, though it is a manual HTTP walkthrough rather than a packaged exploit, and no CISA KEV entry or in-the-wild reporting is present. The exposure is insider- or credential-driven (PR:L) rather than anonymous, and the assessed priority is to patch this week.
RemediationAI
Upgrade to OpenEMR 8.5.0, the vendor-released fixed version, per the advisory at https://github.com/openemr/openemr/security/advisories/GHSA-q5c6-96vf-rx9v; the fix adds the registry's patients/lab permission check and validates both the order's patient and encounter against the session before rendering or mutating a procedure order, so patching is the complete remediation and no code-level workaround restores the missing check. Where 8.5.0 cannot be deployed immediately, the practical interim control is to deny low-privilege roles access to the endpoint entirely - block /interface/forms/procedure_order/ at the reverse proxy or web server for accounts that do not legitimately hold patients/lab, or remove the Procedure Order form from the Forms Administration registry for those roles - accepting that ordering staff lose the workflow and that existing order records must still be handled through an authorized account, and noting that neither measure validates the patient/encounter relationship that the patch introduces. Complement this by reviewing procedure_order rows and audit logs for cross-patient edits, since the save path requires the attacker to reselect the target patient and encounter in their own session before submitting bn_save with a valid CSRF token, which leaves a trace in the session and audit record. Deployments with a configured external laboratory integration should additionally verify with the lab whether anomalous requisitions were transmitted, as that channel was not covered by the vendor's validation and carries the highest downstream clinical risk.
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 electronic health record system in which encounter forms are registered with a required ACL permission; the Procedure Order form declares patients|lab, but common.php never calls AclMain::aclCheckForm() or any equivalent laboratory-permission gate. The root cause class is CWE-862 (missing authorization), which the GitHub advisory labels CWE-284. Two code paths are unguarded: the read path takes $_REQUEST['id'] and runs a single sqlQuery against procedure_order using only that global identifier, then renders clinical fields and related order/location details without invoking the available encounter-form ownership guard; the save path does call EncounterFormAccess::assertFormBelongsToSessionPatient(), but that helper's implementation and documentation show it only compares the form owner's PID against the PID stored in the same caller-controlled session (optionally an encounter), with no check of patients/lab, demographics, squad, sensitivity or encounter ownership. Because the session PID is attacker-selected, the comparison succeeds after the attacker switches to the target patient and encounter. CSRF protection (CsrfUtils::checkCsrfInput) is enforced on save, so a valid session token from the order view is needed, but CSRF tokens are not an access control. The same form can transmit orders to a configured external laboratory; the vendor reproduction deliberately used only local database updates and did not invoke bn_xmit.
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:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable form, low complexity, and any authenticated low-privilege account suffices (PR:L); cross-patient read gives C:H and order falsification gives I:H, with no availability impact and scope unchanged within OpenEMR.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR before 8.5.0 contains a missing authorization vulnerability in interface/forms/procedure_order/common.php that allows authenticated accounts lacking patients/lab permission to read and modify other patients' procedure orders. Attackers can request a global order id to disclose clinical history, or select the target patient in their session and submit bn_save to falsify diagnoses, instructions, and order status.
Technical POC Analysis
CWE-862 Missing Authorization (the advisory text labels CWE-284) in OpenEMR's Procedure Order encounter form, interface/forms/procedureorder/common.php.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OpenEMR, a widely used electronic health records system, contains a high-severity authorization flaw (CVE-2026-126434) that allows any authenticated user-even those without lab permissions-to read and modify other patients' laboratory orders. This directly compromises patient privacy and data integrity, potentially affecting any healthcare organization running OpenEMR versions before 8.5.0, and could lead to regulatory violations (e.g., HIPAA) and reputational damage.
Apply vendor patch.
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-125009
GHSA-7c34-jcq3-f7g6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB