Skip to main content

OpenEMR EUVDEUVD-2026-117779

| CVE-2026-102940 CRITICAL
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-05 GitHub_M
9.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Send crafted move POST to controller.php document action
  3. Exploit
    Reassign target document to attacker-accessible patient/category (no ACL check)
  4. Execution
    Retrieve document via protected ACL-checked download path
  5. Impact
    Exfiltrate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

OpenEMR < 8.4.0

Affected Packages

euvd openemr fix: 8.4.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

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

Vendor (GitHub_M) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
vuln.today AI 9.6 CRITICAL

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.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 05, 2026 - 21:18 EUVD
CVE Published
Nov 05, 2026 - 20:07 cve.org
CRITICAL 9.6

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Medium
leading open-source EHR, large but healthcare-sector-specific deployment footprint
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
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