Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as any low-privilege user
-
DeliveryCopy session CSRF token from any page
-
ExploitRequest new_search_popup.php or POST new_comprehensive_save.php
-
ExecutionBypass missing aclCheckCore() authorization check
-
PersistEnumerate PHI or create patient records
-
ImpactExfiltrate SSN, DOB and insurance data
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 OpenEMR session of ANY role (PR:L), including roles with no patients/demo permission; no admin access and no non-default configuration is needed for the enumeration path. V3 (new_search_popup.php) needs no CSRF token because it is reachable via GET; V1/V4 need only a session-scoped CSRF token that any logged-in user can read from any page, so CSRF is not an authorization boundary. Limiting factors: the patient-CREATION variants only cross a privilege boundary where the deployment has defined custom view-only ACL roles (all stock roles already hold patients/demo write/addonly), and V2 (new_patient_save.php) is additionally blocked on the stock schema by a separate NOT-NULL defect on fitness/referral_source, requiring a modified schema to exploit. The patient-ENUMERATION variants (V3/V4) have no such limitation and leak full PHI to any authenticated user. No remote unauthenticated exploitation - credentials are mandatory. |
| Impact | Multiple signals converge on a genuine but not emergency-grade priority. The input CVSS 4.0 base score is 8.7 (High) with vector AV:N/AC:L/AT:N/PR:L/UI:N and high confidentiality/integrity/availability impact; PR:L confirms this is an authenticated flaw, not pre-auth. It is NOT in CISA KEV, so there is no confirmed active exploitation, and no EPSS score was provided in the input, so exploitation probability cannot be quantified here - state explicitly: EPSS is MISSING and KEV is NEGATIVE. However, the GHSA advisory contains a detailed proof-of-concept plus dynamic reproduction output (10/10 batch patient creation, 55 records enumerated with SSN/DOB on one page), so a working-grade PoC reference exists even though it is not packaged as a standalone exploit. The vendor Decision label is 'this_week' (not act_now/emergency), consistent with an authenticated-only authorization gap rather than a remote pre-auth RCE. Two signals partially conflict and should be weighed: the advisory notes every default OpenEMR role already holds patients/demo write, so the patient-CREATION variants (V1/V2) only cross a privilege boundary in deployments that defined custom view-only roles, and V2 is additionally blocked on the stock schema by an unrelated null-value defect - this narrows the create-path real-world impact. By contrast, the patient-ENUMERATION variants (V3/V4) are reachable by ANY authenticated user regardless of role and leak full PHI (names, SSNs, DOBs) across the entire system, which is the broadly exploitable, higher-likelihood path and the real driver of risk. Net: a legitimate same-week remediation priority for any multi-user OpenEMR install, but dependent on an attacker already holding valid credentials. |
| Exploit ScenarioDerived | An attacker with any low-privilege OpenEMR account (e.g. a front-office or view-only user) logs in, grabs the session CSRF token from any page, and either POSTs crafted demographics/insurance fields to new_comprehensive_save.php to silently create patient records with PHI, or issues GET requests to new_search_popup.php (no CSRF token needed) and patient_select.php to page through and exfiltrate every patient's name, SSN, DOB and phone. A detailed PoC and dynamic reproduction (55 records leaked on one page, 10/10 batch creations) are documented in the GHSA advisory; because AC:L and no special configuration is required, exploitation is straightforward once a session exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Missing authorization checks in OpenEMR before 8.5.0 let any authenticated user - including roles that hold no patients/demo permission - read or write patient records they should never reach. The patient-search popups (new_search_popup.php and the patient_select.php popup mode) return full-system PHI including name, SSN, DOB and phone with no object-level filter, and the new-patient save endpoint new_comprehensive_save.php creates patient, employer, history and insurance rows for the attacker's session. Exploitation requires a valid OpenEMR session of any role (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N); the enumeration path needs no CSRF token at all, and the creation path needs only a session-scoped token any logged-in user can read, so CSRF is not an authorization boundary. The GitHub security advisory publishes reproduction steps and captured output, so a public PoC reference exists, but no confirmed public exploit code and no CISA KEV entry are present; treat this as a fix-this-week item rather than an emergency.
RemediationAI
Vendor-released patch: OpenEMR 8.5.0. Upgrade any deployment on a version below 8.5.0 to that release, and if code is carried locally, verify that all four scripts now perform an authorization check mirroring new_comprehensive.php:32 (aclCheckCore('patients', 'demo', '', ['write','addonly'])) before any business logic runs - the advisory's suggested fix is exactly that check at the top of each affected endpoint. Until the upgrade is deployed, scoping matters: the patient-enumeration paths (new_search_popup.php and the patient_select.php popup) have no prerequisite beyond a valid session and must be treated as exposed, whereas the creation path in new_comprehensive_save.php only crosses a privilege boundary in deployments that have defined custom view-only ACL roles, since every stock role (Administrators, Physicians, Clinicians, Front Office, Back Office, Breakglass) already holds patients/demo write or addonly, and new_patient_save.php is additionally blocked on the stock schema by a NOT NULL defect on fitness/referral_source that a modified schema would remove. Reviewing recent patient_data, employer_data, insurance_data and history_data inserts for sessions belonging to low-privilege accounts is warranted given that audit logging records the writes but no ACL check flags them as unauthorized. Advisory references: https://github.com/openemr/openemr/security/advisories/GHSA-cwpg-qv34-gx8x and https://www.vulncheck.com/advisories/openemr-before-8.5.0-missing-authorization-in-patient-create-and-search-endpoints.
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/MySQL electronic health records platform whose access control is built around AclMain::aclCheckCore() - object/section level checks such as aclCheckCore('patients', 'demo', '', ['write','addonly']). CWE-862 (Missing Authorization) is the root cause here: four scripts reach business logic after require_once('../globals.php') (session authentication only) and a CsrfUtils::checkCsrfInput() call, but never invoke aclCheckCore(), so authentication is mistaken for authorization. The sibling form page interface/new/new_comprehensive.php:32 and the edit endpoint demographics_save.php:44-54 both perform the correct check, confirming the boundary exists elsewhere. In new_comprehensive_save.php the POSTed form_* and i1* insurance fields flow into updatePatientData(), setpid(), saveAddressesForContact(), newHistoryData() and newInsuranceData(), writing patient_data, employer_data, insurance_data (policy number, subscriber SSN, address) and history_data. In new_search_popup.php the mf_-prefixed search parameters are read from $_REQUEST (GET-reachable, CSRF enforced only on POST) and interpolated into a SELECT * FROM patient_data with no role, facility or object-level filter, while PaginationUtils' fstart parameter enables full enumeration; patient_select.php's popup mode dispatches PatientSelectFilterEvent with a BoundFilter whose filterClause defaults to "1", and no module registers a patientSelect.customFilter listener, leaving the WHERE clause effectively 1 AND 1=1. The CPE cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:* confirms the wildcard covers all releases before the fix. A separate defect in newPatientData() (library/patient.inc.php) reads fitness/referral_source from a false query result and hits NOT NULL columns, which blocks the new_patient_save.php variant on a stock schema.
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:H/SC:N/SI:N/SA:N
Any authenticated low-privilege session suffices (PR:L, AC:L, no UI); mass PHI enumeration gives C:H and unauthorized record creation gives I:H, with no availability impact (A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR before 8.5.0 contains a missing authorization vulnerability that allows any authenticated user to create patient records and enumerate patients by omitting aclCheckCore() checks. Attackers can POST to new_comprehensive_save.php to create patients with insurance PHI, or query new_search_popup.php and patient_select.php to leak names, SSNs and DOBs.
Technical POC Analysis
CWE-862 (Missing Authorization).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OpenEMR versions before 8.5.0 contain a high-severity authorization bypass that allows any authenticated user, regardless of clinical role, to access and modify patient records they are not permitted to see. This exposes sensitive PHI and enables unauthorized data manipulation, posing significant regulatory and reputational risk to healthcare organizations. Leadership should prioritize immediate remediation to protect patient trust and avoid compliance penalties.
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-124958
GHSA-86vw-77xw-25h2
NVD
CVE.org
EPSS
Exploit-DB