Skip to main content

OpenEMR EUVDEUVD-2026-125006

| CVE-2026-126437 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-13 VulnCheck GHSA-rr9f-3g4g-9v86
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege core user
  2. Delivery
    POST isModule=1 to download_template.php
  3. Exploit
    Bypass patient ACL and squad checks
  4. Execution
    Render template with arbitrary pid
  5. Impact
    Disclose 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 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

OpenEMR 0 <8.5.0

Affected Packages

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

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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 10:02 EUVD
CVE Published
Nov 13, 2026 - 09:35 cve.org
HIGH 7.1

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
most widely used open-source EHR, common in clinics but healthcare-vertical only
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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