Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any low-privilege account
-
DeliveryHarvest CSRF token from own session
-
ExploitEnumerate doc_id using fetch action
-
ExecutionOverwrite document_data via save action
-
ImpactDisclose PHI and tamper medical records
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 | Requires a valid authenticated session on OpenEMR of any privilege level - the advisory demonstrates it from a non-clinical Front Office ACL account - plus a CSRF token, which the attacker obtains legitimately from their own session. No administrative role, special configuration, or victim interaction is needed: the DICOM document-state handler in library/ajax/upload.php is present by default and performs only a CSRF check with no AclMain authorization or document-ownership check. The attacker must enumerate integer doc_id values (ids are sequential, as shown by id=900500 in the PoC). The single limiting factor is authentication (PR:L): anonymous, unauthenticated exploitation is not possible, so exposure is confined to parties holding any staff credential on affected versions below 8.3.0. |
| Impact | This is a genuine high-priority issue rather than an inflated-CVSS one, though its reach is bounded by an authentication requirement. The CVSS 4.0 score of 8.6 is backed by a coherent vector: AV:N (network-reachable AJAX endpoint), AC:L (no special conditions), PR:L (any authenticated account), UI:N (no victim interaction), with VC:H and VI:H reflecting that both reading and overwriting of arbitrary patient documents are possible. The GHSA advisory reproduces the attack live from a non-clinical Front Office account, confirming exploitation is trivial for any logged-in user, which aligns with AC:L and PR:L. Signals that would normally confirm widespread exploitation are absent: there is no CISA KEV listing (so no confirmation of active exploitation) and no EPSS score is provided in the input, so probability of broad opportunistic exploitation cannot be quantified here. The vuln.today decision label is this_week - urgent but below act_now/emergency. The key tempering factor is PR:L: this is not an unauthenticated internet-facing bug, so the realistic threat population is insiders and attackers who already hold any valid staff credential, not anonymous scanners. Note also that this is explicitly an incomplete fix of GHSA-qj9f-x7v2-hrr7, meaning one code path remained unprotected after the earlier patch. |
| Exploit ScenarioDerived | A low-privilege staff member (or an attacker who has phished any staff login) sends CSRF-valid POST requests to library/ajax/upload.php with action=fetch and incrementing doc_id values, reading diagnoses, SSNs and other PHI from documents belonging to patients they have no clinical relationship with. They then repeat with action=save to overwrite those same documents, tampering with medical records across all patients. A working proof of concept is reproduced step-by-step in the vendor's GHSA advisory, and the low AC/PR vector means no special timing or configuration is needed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Missing authorization in OpenEMR's DICOM document-state AJAX handler (library/ajax/upload.php) lets any authenticated user - including non-clinical, low-privilege accounts such as the Front Office ACL group - read and overwrite the stored document_data of any patient record by supplying an arbitrary doc_id to the fetch and save actions. Because doc_id values are sequential integers, a low-privilege insider can enumerate them to disclose PHI and tamper with medical records across the entire installation on versions below 8.3.0. No KEV listing is associated with this CVE and no confirmed working exploit code is publicly available, though the vendor advisory documents a live reproduction; exploitation requires a valid session and a CSRF token the attacker obtains from their own login, so exposure is confined to holders of staff credentials.
RemediationAI
Vendor-released patch: OpenEMR 8.3.0 (upgrade all installations below 8.3.0); the vendor advisory at https://github.com/openemr/openemr/security/advisories/GHSA-7h7v-29jv-527v describes the required code fix, which is to add an AclMain::aclCheckCore('patients', 'docs'/'docs_rm', ...) gate for read versus write and to verify the document's owning patient (documents.foreign_id) the way the GHSA-qj9f-x7v2-hrr7 fix already does in controllers/C_Document.class.php, so both code paths enforce consistent authorization. Updating is the complete fix because the vulnerable handler ships by default and is reachable by any authenticated account. If upgrading cannot be done immediately, the interim option is to block or restrict POST requests to library/ajax/upload.php at the reverse proxy or web-server layer, with the side effect that legitimate DICOM document-state fetch and save operations stop working for all users; tightening which accounts exist and auditing staff credentials limits who can reach the endpoint but does not remove the missing authorization check itself.
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 health record and practice-management platform; documents (including DICOM imaging state) are stored in the documents table, with the payload held in the document_data column and the owning patient referenced by foreign_id. The vulnerable endpoint, library/ajax/upload.php, verifies a CSRF token via CsrfUtils::verifyCsrfToken() and then dispatches on an attacker-controlled action (fetch or save) against a client-supplied integer doc_id. Both SQL statements are parameterised, so this is not SQL injection; the defect is CWE-862 (Missing Authorization) - there is no AclMain::aclCheckCore() gate and no check that documents.foreign_id belongs to a patient the caller may access. This is an incomplete fix of GHSA-qj9f-x7v2-hrr7: the earlier remediation added ownership/ACL checks to controllers/C_Document.class.php but left the parallel AJAX code path in library/ajax/upload.php unprotected, so the same document-state read/write primitives remain reachable without authorization.
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 AJAX endpoint (AV:N) exploitable with no special conditions (AC:L) by any authenticated user (PR:L); full read and overwrite of document data gives C:H/I:H, no availability impact (A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR before 8.3.0 contains a missing authorization vulnerability in library/ajax/upload.php that allows any authenticated user to read and overwrite document data by supplying an arbitrary doc_id. Low-privilege users can enumerate doc_id values with the fetch and save actions to disclose patient health information and tamper with medical records across all patients.
Technical POC Analysis
CWE-862 (Missing Authorization), specifically an IDOR in OpenEMR's DICOM document-state AJAX handler, library/ajax/upload.php.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-124461 is a high-severity authorization flaw in OpenEMR (versions below 8.3.0) that allows any authenticated user, including low-privilege front office staff, to read and modify patient medical records across the entire system. This poses a significant risk of internal PHI breaches and data tampering, which could lead to regulatory penalties 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-119518
GHSA-x7rh-2f5c-xx9f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB