Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as clinical user and open any encounter
-
DeliveryEnumerate sequential form id values
-
ExploitRequest soap/view.php?id=N for another patient
-
ExecutionRead cross-patient clinical PHI
-
ImpactPOST save.php with own CSRF token to overwrite records
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 clinical account with a normal role (the advisory demonstrates it as a non-admin Physician) and an active encounter ('in an encounter'); no administrative privileges are needed. Affected endpoints (e.g. soap/view.php, soap/save.php, gad7/save.php and the full list of encounter-form viewers/save handlers) fetch and update a form solely by its integer primary key with no patient/encounter ownership check, so default configurations are vulnerable with no special feature toggle. Write operations require a CSRF token, but this is satisfied by the attacker's own session token and therefore is not a meaningful barrier. The only real limiting factor is possession of clinical login credentials; once authenticated, sequential ids make enumeration and tampering straightforward. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and score of 8.6 are consistent with the description: a network-reachable, low-complexity flaw requiring only low privileges (PR:L) - i.e. a valid, non-admin clinical account 'in an encounter.' This is NOT an anonymous-internet mass-exploitation bug; the gating factor is authenticated access, so the realistic threat model is a malicious insider, a curious clinician, or an attacker who has phished/compromised one clinical credential. Against that, the exploitation barrier is otherwise near-zero: form ids are sequential integers, so enumeration is trivially automatable, and both read (PHI disclosure, VC:H) and write (record tampering/destruction, VI:H) impacts are confirmed by the vendor GHSA advisory. There is no EPSS score in the input, so I cannot quote an exploitation-probability signal, and the CVE is not listed in CISA KEV, so there is no confirmed active exploitation - this is not a zero-day or in-the-wild case. A detailed proof-of-concept, verified live by the reporter (VulnCheck) at commit 1d39d67, is published in the public GHSA advisory, which materially lowers the skill barrier. The vendor priority label is 'this_week' (not act_now/emergency), which aligns with the picture: high technical impact and a working public PoC, but authentication-gated exploitation rather than unauthenticated internet-wide risk. For any OpenEMR deployment holding real patient data this is a genuine priority to patch promptly, driven by PHI confidentiality and integrity rather than by evidence of widespread exploitation. |
| Exploit ScenarioDerived | An attacker with any normal clinical login (e.g. a Physician role, not admin) opens any encounter, then increments the integer id in a request such as GET /interface/forms/soap/view.php?id=N to render another patient's SOAP note - including sensitive PHI like HIV status - in editable fields. They can then POST to soap/save.php with their own valid CSRF token to overwrite or destroy that other patient's clinical record. The vendor GHSA advisory includes a reporter-verified proof-of-concept demonstrating exactly this cross-patient read and overwrite. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Cross-patient insecure direct object reference in OpenEMR before 8.3.0 allows any authenticated clinical user holding a normal role with an active encounter to read and overwrite other patients' clinical records by enumerating sequential form ids. Endpoints such as soap/view.php, soap/save.php and gad7/save.php fetch and update a form by its integer primary key without verifying that the form belongs to the session's active patient or encounter. No CISA KEV entry exists, but the upstream vendor advisory documents a verified proof-of-concept walkthrough performed live at commit 1d39d67 using a non-admin Physician account, and the vendor has released 8.3.0 as the fix.
RemediationAI
Vendor-released patch: OpenEMR 8.3.0. Upgrading from any version below 8.3.0 to 8.3.0 is the complete fix and the only remediation the advisory identifies; there is no configuration toggle or feature switch that removes exposure, since default configurations are vulnerable. The underlying code fix, per the advisory, is to reuse the eye_mag/view.php ownership check on every listed endpoint: resolve pid and encounter from the forms row for the requested id and reject a mismatch (or gate on an explicit cross-patient ACL), and bind formFetch-equivalent queries to the session pid; a shared helper is preferred so newly added forms inherit the control. Until the upgrade is deployed, the practical constraint on exposure is possession of valid clinical credentials, so auditing and tightly controlling issuance of clinical accounts, plus reviewing encounter-form access logs for sequential id enumeration against patients outside the session, limits opportunistic abuse, though neither measure blocks an already-authenticated clinical user and neither substitutes for the 8.3.0 upgrade. Patch details and the full affected-endpoint list are at https://github.com/openemr/openemr/security/advisories/GHSA-3mg9-27fw-m9j6.
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
CWE-639 (Authorization Bypass Through User-Controlled Key) in the PHP-based OpenEMR electronic health record. The defect is architectural rather than a single endpoint: encounter-form handlers resolve a record purely from an attacker-supplied integer id. The representative read sink is interface/forms/soap/C_FormSOAP.class.php:50, reached via soap/view.php:25, where the code instantiates a form object from $_GET['id'] with only an is_numeric() check before ORDataObject::populate() runs SELECT * FROM form_soap WHERE id = ? with no pid or encounter predicate. The representative write sink is interface/forms/gad7/save.php:48-61, which issues UPDATE form_gad7 SET pid = ?, ... WHERE id = ? on an id taken from the request, again with no ownership predicate. CSRF tokens are required on the write POSTs but are satisfied by the attacker's own session token, so they provide no cross-user protection here. The vendor notes that the intended control already exists in the patched Eye Exam viewer at interface/forms/eye_mag/view.php, which reads pid and encounter from the forms row for the requested form_id and dies on mismatch; the same fix was previously applied for CVE-2026-27943 (Eye Exam viewer) and CVE-2026-25930 (printable LBF endpoint) but not propagated to the sibling handlers. The advisory's verified list of read sinks covers clinic_note/view.php:79, soap, ros, prior_auth/view.php:25, painmap/view.php:28, VitalsService::getVitalsForForm, procedure_order/common.php:469, physical_exam/new.php:147, track_anything/new.php:237, questionnaire_assessments/questionnaire_assessments.php:81 and LBF/new.php:141-144; the write sinks cover clinic_note/view.php:52-62, soap, gad7, misc_billing_options, dictation, reviewofs, sdoh, phq9, clinical_instructions, aftercare_plan, treatment_plan and transfer_summary.
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 HTTP endpoints (AV:N) with trivial sequential-id enumeration (AC:L) reachable by any authenticated clinical user (PR:L); cross-patient PHI read and overwrite give 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 an insecure direct object reference vulnerability in many encounter-form view and save endpoints that lack patient/encounter ownership checks. Authenticated clinical users can enumerate sequential form id values in requests such as soap/view.php and save.php to read and overwrite other patients' clinical records.
Technical POC Analysis
Advisory GHSA-3mg9-27fw-m9j6 (published 2026-08-18) rates this High at 8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N); the 8.6 in the request header does not match the advisory vector.
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 flaw that lets any authenticated clinical user with a normal role read and overwrite other patients' clinical records. This puts patient privacy at risk, could lead to incorrect care decisions, and exposes the organization to HIPAA penalties and reputational harm.
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
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-119516
GHSA-mxq4-6pmv-p59f
NVD
CVE.org
EPSS
Exploit-DB