Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliverySend crafted move POST to controller.php document action
-
ExploitReassign target document to attacker-accessible patient/category (no ACL check)
-
ExecutionRetrieve document via protected ACL-checked download path
-
ImpactExfiltrate arbitrary patient PHI
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires a valid authenticated OpenEMR session for any role, including low-privilege groups such as the default Front Office ACL group that have no chart or document access (PR:L); exploitation is unauthenticated-impossible but role-agnostic. The attacker needs the numeric document_id of a target document and a destination patient/category that the attacker legitimately can read, then submits POST controller.php?controller=document&action=move&process=1 with new_patient_id/new_category_id set to that accessible destination. No user interaction, no special or non-default configuration, and no vendor feature toggle is needed - all versions prior to 8.4.0 are affected in default deployments (the PoC also handles pre-PR#11163 positional routing for 8.0.x and earlier). The only limiting factors are possession of a login and knowledge of a target document id; the HTTP 403 that the destination list-rendering step may return does not block the mutation, which has already committed. |
| Impact | All severity signals point the same direction except that mass-exploitation potential is bounded by an authentication requirement. The supplied CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N, 9.6) describes a network-reachable, low-complexity attack needing no user interaction and only a low-privilege account, with a scope change because corrupting the document-ownership record subverts the separate ACL authority that the read path trusts. The vuln.today Decision label is act_now, which is consistent with that severity and with a working proof-of-concept being published in the GitHub advisory. Against that, PR:L (not PR:N) means an attacker must first hold any valid OpenEMR login, so this is not an anonymous internet-wide spray - but in a typical multi-user clinic almost every staff account qualifies, including roles with no legitimate document access, so the practical barrier is low. Two key signals are MISSING from the input and should not be inferred: no EPSS exploitation-probability score is provided, and there is no CISA KEV entry, so there is no evidence of active in-the-wild exploitation at time of analysis despite the high CVSS and the published PoC. Net: a genuine high priority driven by severity plus a confirmed working exploit path, not merely a high-CVSS-but-low-real-risk issue, but priority rests on pre-exploitation urgency rather than on observed attacks. |
| Exploit ScenarioDerived | A low-privilege authenticated OpenEMR user (for example a Front Office account with no chart or document access) sends a crafted document 'move' POST that reassigns another patient's sensitive document to a patient or category the attacker legitimately can access, bypassing the ACL because the write path performs no ownership check. The attacker then downloads that document through the normal, properly access-checked read path, exposing arbitrary patient PHI. A complete Python proof-of-concept is published in the GHSA advisory and the reporter states it was confirmed live against the public demo.openemr.io instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Document access-control bypass in OpenEMR before 8.4.0 allows any authenticated user, including a default Front Office account with no chart or document rights, to reassign an arbitrary document to a patient or category they can access and then read it through the normally ACL-checked download path. The CVSS 9.6 score and the supplied vuln.today decision label of act_now reflect a role-agnostic write-side IDOR; a public PoC reference exists in the upstream advisory but is not verified as working exploit code, and no CISA KEV entry is present in the supplied data. OpenEMR 8.4.0 contains the vendor fix, which adds ACL and source-document access checks before mutation.
RemediationAI
Upgrade to OpenEMR 8.4.0 or later. The vendor advisory is https://github.com/openemr/openemr/security/advisories/GHSA-92rh-g949-4mvv and the patch is in PR #13353 / commit 312b5d042f7fa49cc78ebed041155fba339a991c; it adds numeric document-id validation, a patients/docs write|addonly ACL check, and a source-document can_access() check before the category/patient reassignment, and retrieve_action() now requires a matching non-empty numeric patient_id. No vendor workaround is documented, and updating is the only complete fix. If immediate upgrade is not possible, block POST requests to the document move action at the web server or reverse proxy, covering both controller.php?controller=document&action=move and the legacy controller.php?document&move positional form, and audit documents.foreign_id and categories_to_documents for unexpected reassignments; the trade-off is that legitimate document moves will fail until the block is removed. Restricting accounts to least privilege reduces exposure but does not remediate because any authenticated role can exploit the missing write check.
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
The issue is CWE-639 authorization bypass through a user-controlled key in OpenEMR's PHP document controller, controllers/C_Document.class.php. move_action_process() accepts patient_id and document_id, validates only that the document/category IDs are numeric and that the destination patient exists, then updates categories_to_documents.category_id and calls Document::change_patient() to change the document's foreign_id without checking the caller's access to the source document, its current patient/category, or the destination patient/category. The sibling read actions retrieve_action()/view_action() do call can_access()/can_patient_access() and carry an explicit IDOR-prevention comment, while Controller::CONTROLLER_ACL_MAP has no 'document' entry, so no blanket ACL gate covers the write path. Exploitation requires a valid OpenEMR session and the numeric ID of a target document, plus a destination patient or category the attacker can access; no special configuration or user interaction is required. Because the mutation happens before list_action() renders the destination list and that rendering step is separately access-checked, a 403 response does not prove the write was blocked. The supplied tags include PHP and OpenEMR; despite an 'Authentication Bypass' tag, the reported behavior is an authorization bypass after login.
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Network HTTP request, low complexity, any authenticated low-privilege user (PR:L), no UI; corrupting the ownership record subverts the separate ACL authority (S:C) exposing PHI (C:H) and altering records (I:H), no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.4.0, controllers/C_Document.class.php write actions, including move_action_process(), do not verify the caller's access to the source document, current patient and category, or destination patient and category before Document::change_patient() performs the mutation. A low-privilege authenticated user can reassign an arbitrary document to a patient or category the user can access and then retrieve it through the normally protected read path. The reassignment occurs before a later list rendering check, so a final HTTP 403 response does not mean the unauthorized write was blocked. This issue is fixed in version 8.4.0.
Articles & Coverage 1
Technical POC Analysis
CWE-639 Authorization Bypass Through User-Controlled Key.
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 open-source electronic health record system, contains a critical document access-control bypass (CVE-2026-102940) that lets any authenticated user-even a low-privilege front office account-reassign and read arbitrary patient documents. This directly exposes protected health information (PHI) and could trigger HIPAA breach notification obligations, regulatory penalties, and reputational damage. Leadership should prioritize immediate remediation because the flaw requires only a valid login and the vendor has released a patch in version 8.4.0.
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-117779
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB