Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege core user
-
DeliveryPOST isModule=1 to download_template.php
-
ExploitBypass patient ACL and squad checks
-
ExecutionRender template with arbitrary pid
-
ImpactDisclose patient PHI (name, DOB, meds, problems)
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 (1) any authenticated OpenEMR core account - the advisory confirmed exploitation with an account whose only ACL rule was patients/amendment, i.e. no patients/docs, demographics, or medical-record permission; (2) a target patient ID (pid), which is enumerable since the validation used sequential-style IDs like 900002; and (3) the ID of an installed document template containing patient directives - the default installation's stock Privacy Document (containing {PatientName}, {PatientDOB}, {PatientID}) is sufficient. Exploitation is triggered by setting isModule=1 in the POST, which routes the request down the core branch that fails to bind pid to the session or enforce ACL/squad checks. Limiting factor: a valid core login is required (not pre-authentication); the breadth of clinical fields exposed depends on which directives the chosen installed template contains, though identity/DOB/chart ID are available from the default template. |
| Impact | This is a real but bounded data-disclosure priority rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N, 7.1 High) is internally consistent with the advisory: network-reachable, low complexity, and PR:L meaning any authenticated low-privilege core account suffices - the validation used an account whose only ACL was patients/amendment. Impact is confidentiality-only (VC:H, no integrity or availability), which matches a PHI read-primitive with no code execution or data modification. KEV is not listed and no EPSS score is provided in the input, so there is no signal of widespread automated exploitation; the vuln.today decision label is 'this_week', not 'act_now' or 'emergency', consistent with an authenticated-only information leak. The GHSA advisory includes a confirmed reproduction (HTTP request plus observed response on v8.4.1), so exploitation is demonstrably practical for any insider or any attacker who has obtained even minimal valid credentials. Net: prioritize for patching this week - the barrier is only a valid core login, the data exposed is sensitive regulated PHI (names, DOB, chart IDs, addresses, allergies, medications, problem lists), and squad/ACL segregation is fully bypassed - but absent KEV/EPSS evidence treat this as an insider/credentialed-access risk rather than mass internet exploitation. |
| Exploit ScenarioDerived | A clinic staffer, contractor, or attacker holding any low-privilege OpenEMR core account (even one lacking patients/docs, demographics, or medical-record permissions) sends a single POST to portal/lib/download_template.php with isModule=1 and an arbitrary pid plus the stock Privacy Document template_id, receiving HTTP 200 containing the target patient's name, date of birth, and chart ID. By iterating sequential pid values and selecting templates with additional directives, they enumerate and exfiltrate PHI for patients outside their ACL and squad. A working reproduction is published in the vendor GHSA advisory, so the technique is documented and trivially repeatable given low complexity (AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Any authenticated OpenEMR core user can disclose another patient's identity and clinical record - name, date of birth, chart ID, address, telephone, sex, allergies, medications and problem list - through the portal document-template renderer in versions before 8.5.0. A single POST to portal/lib/download_template.php with isModule=1 routes the request down a core branch that never binds pid to the session or enforces patients/docs, demographics, medical-record or squad ACLs, so a low-privilege account whose only ACL rule is patients/amendment can walk enumerable patient IDs and render the stock Privacy Document. CVSS 7.1 with confidentiality-only impact; a valid core login is required (not pre-authentication) and the breadth of disclosure depends on which template directives are installed. OpenEMR 8.5.0 fixes the issue, there is no CISA KEV listing, and the vendor advisory publishes complete reproduction steps.
RemediationAI
Upgrade to OpenEMR 8.5.0, which is the vendor-released fix for all branches in the affected range (advisory GHSA-vc2h-x8xf-8jcv). No vendor-documented workaround exists, and the advisory states the durable fix is to stop using a request flag to select the auth boundary - core requests must require the intended document permission, verify access to the supplied patient including squad restrictions, and preferably bind pid to an authorized session context, with a defense-in-depth check added inside DocumentTemplateRender. As an interim compensating control, restrict POST requests carrying isModule to /portal/lib/download_template.php at the reverse proxy or WAF, accepting that legitimate core-side module template rendering will break until the patch is applied, and alert on requests pairing isModule with pid values that differ from the caller's assigned patient. Audit core accounts holding only narrow ACL rules such as patients/amendment and review access logs for portal template endpoints hit from core sessions, since successful abuse is a plain HTTP 200 returning rendered patient fields. Weigh the effort against the assessed priority: this is a real but bounded data-disclosure issue requiring a valid low-privilege login rather than a drop-everything emergency.
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 electronic medical record system, and the flaw is an authorization bypass through a user-controlled key (CWE-639, characterized in the advisory as CWE-284) inside the document-template subsystem. portal/lib/download_template.php chooses its authentication and authorization boundary from an attacker-supplied request flag: when isModule is truthy it loads interface/globals.php and the active core session, but unlike the portal branch it never compares the posted pid to the session pid (the portal path prints 'illegal Action' and destroys the portal session on mismatch) and never calls AclMain::aclCheckCore('patients','docs') or any other patient ACL or squad check. The unverified pid is passed straight to DocumentTemplateRender::doRender in src/Services/DocumentTemplates/DocumentTemplateRender.php, which runs sqlQuery against patient_data and history_data for that pid and expands template directives such as {PatientName}, {PatientID}, {Address}, {PatientDOB}, {Medications} and {ProblemList} from the resulting rows - the service assumes its caller already authorized the request and performs no checks of its own. The correct pattern exists in interface/patient_file/download_template.php, which takes pid from the session and rejects callers lacking patients/docs.
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:N/VA:N/SC:N/SI:N/SA:N
Remote, low-complexity request needing only any authenticated core account (PR:L, AC:L); confidentiality-only PHI disclosure with no integrity or availability impact and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR before 8.5.0 contains an authorization bypass vulnerability in portal/lib/download_template.php that allows any authenticated core user to render documents for arbitrary patients by setting isModule. Attackers can submit arbitrary pid and template_id values to disclose patient names, birth dates, chart IDs, addresses, allergies, medications, and problem lists despite ACL and squad restrictions.
Technical POC Analysis
The bug is an authorization bypass of the IDOR family - structurally CWE-639 (authorization bypass through a user-controlled key), which the vendor advisory files under CWE-284 (Improper Access Contr…
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-126437 is a high-severity (CVSS 7.1) vulnerability in OpenEMR versions before 8.5.0 that allows any authenticated core user to access and disclose protected patient health information (PHI) through the portal document-template renderer. This could result in unauthorized exposure of sensitive data such as names, dates of birth, addresses, medications, and allergy histories for multiple patients. Leadership should care because this breach of patient confidentiality can lead to regulatory penalties (e.g., HIPAA), reputational damage, and loss of patient trust.
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-125006
GHSA-rr9f-3g4g-9v86
NVD
CVE.org
EPSS
Exploit-DB