Skip to main content

OpenEMR EUVDEUVD-2026-119534

| CVE-2026-124479 HIGH
External Control of File Name or Path (CWE-73)
2026-11-08 VulnCheck GHSA-jg97-vcwh-pc35
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 with document upload/download rights
  2. Delivery
    Upload text document whose body is an absolute server path
  3. Exploit
    Download document via REST; BinaryFileResponse reads path as file
  4. Execution
    Exfiltrate sqlconf.php and recover DB credentials
  5. Impact
    Pivot to full patient-data (PHI) compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Requires an authenticated OpenEMR session holding both document upload and document download/read permissions for a patient (PR:L); it is not exploitable by anonymous/unauthenticated users. The target must run OpenEMR before 8.4.0 with the REST document API reachable. No user interaction and no special non-default configuration are needed beyond those access rights - the unsafe reinterpretation happens after normal authorization, and category/type validation does not block a text/plain body containing an absolute path. Limiting factors: the attacker must possess or obtain valid low-privilege credentials with these document capabilities, and must know (or guess) absolute server paths such as the sites/default/sqlconf.php location to read a useful file.

Impact

This is a credible but qualified priority, not a drop-everything emergency. The input supplies only a CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) scoring 7.1 (High): network vector, low complexity, no attack requirements, no user interaction, but PR:L - exploitation requires an authenticated account. The vuln.today decision label is 'this_week', consistent with a serious but not actively-mass-exploited flaw. There is no KEV listing and no EPSS score in the provided data, so widespread automated exploitation cannot be asserted; the gating factor is that an attacker must already hold a valid OpenEMR account with document upload AND download privileges. Against that, the technical impact is high and well-evidenced: the GHSA advisory documents a confirmed, executed PoC that recovered the live sqlconf.php (database credentials) rather than the uploaded file, enabling pivot to full patient-data (PHI) compromise. Net: real priority for any internet-exposed or multi-tenant OpenEMR instance where low-privilege clinical users exist, but the authenticated prerequisite meaningfully narrows the attacker population versus an unauthenticated RCE. No signals here conflict; the main gap is the absence of EPSS/KEV telemetry to gauge in-the-wild activity.

Exploit ScenarioDerived

An authenticated OpenEMR user with document upload and download rights (e.g., a low-privilege clinical staff account, or an attacker who has phished/obtained such credentials) uploads a plain-text patient document whose bytes are an absolute server path such as /var/www/.../sites/default/sqlconf.php. They then download that document through the REST API, where Symfony's BinaryFileResponse treats the stored bytes as a filesystem path and streams the referenced server file back, yielding the database credentials. A confirmed, executed proof of concept for this exact sequence is published in the vendor's GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 08, 2026

OpenEMR versions before 8.4.0 let an authenticated user with patient document upload and download rights read arbitrary server-local files through the REST document download endpoint, because the controller hands stored document bytes to Symfony's BinaryFileResponse as a filesystem path. An attacker uploads an ordinary text/plain document whose entire body is an absolute path such as the site's sqlconf.php, then downloads that document and receives the referenced PHP source, exposing database credentials and enabling broader patient-data compromise; the advisory reports an executed proof-of-concept against commit acdd99694b45e1f384060e10ca1af1b0de629069 that returned the live sqlconf.php instead of the 59-byte pathname string. Exploitation requires valid low-privilege credentials holding both document capabilities and knowledge of target paths; there is no CISA KEV entry and no confirmed active exploitation at time of analysis.

RemediationAI

Upgrade OpenEMR to version 8.4.0, the fixed release identified in the GitHub advisory GHSA-xgxv-36g2-hq5g (https://github.com/openemr/openemr/security/advisories/GHSA-xgxv-36g2-hq5g) and in the VulnCheck advisory (https://www.vulncheck.com/advisories/openemr-before-8.4.0-arbitrary-file-read-via-rest-document-download); vendor patch availability is confirmed. Until the upgrade is deployed, the exposure is bounded by the permissions it requires, so review which accounts hold both document upload and document download/read capabilities for patients and remove those rights from users who do not need them, since the flaw is only reachable by a user possessing both. Also treat the site's sqlconf.php database credentials as potentially disclosed if any low-privilege document user could reach the REST API, and rotate those credentials after patching.

Affected VersionsENISA

OpenEMR 0 <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 root cause is CWE-73 (external control of file name or path) in OpenEMR's PHP document pipeline. DocumentService::insertAtPath() reads the temporary upload into a string with file_get_contents() and stores those bytes verbatim as the document body, checking only file type (isWhiteFile when secure_upload is enabled) and category validity. DocumentService::getFile() later enables raw retrieval via C_Document::retrieve_action(..., true, true, true) and returns the stored bytes as the 'file' element. DocumentRestController::downloadFile() then constructs new BinaryFileResponse($results['file']), and Symfony HttpFoundation treats that string argument as a path on the server filesystem rather than as response content, streaming whatever file it names. The unsafe reinterpretation therefore occurs after authorization and after storage, so neither the upload validation nor the per-document access check blocks it. Affected per CPE cpe:2.3:a:openemr:openemr:* with EUVD listing 0 through <8.4.0; the flaw was fixed in 8.4.0.

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

Authenticated low-privilege user (PR:L) sends a crafted REST request (AV:N, AC:L, no UI) to read arbitrary server files (C:H); no modification or availability impact and base scope unchanged.

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 08, 2026 - 14:01 EUVD
CVE Published
Nov 08, 2026 - 13:15 cve.org
HIGH 7.1

DescriptionCVE.org

OpenEMR before 8.4.0 contains an arbitrary local file read vulnerability in REST document download, where the controller passes stored uploaded document bytes to Symfony's BinaryFileResponse as a filesystem path instead of returning them as content. Authenticated users with document upload and download access can upload a document containing an absolute pathname, such as the sqlconf.php location, then download it to read server files and recover database credentials.

Technical POC Analysis

CWE-73 (External Control of File Name or Path) per the CVE header; note that the supplied GHSA text itself lists "Weaknesses: No CWEs" and "CVE ID: No known CVE", so the CVE/CWE identifiers here come…

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-124479 in OpenEMR (versions before 8.4.0) allows authenticated users with document upload/download rights to read arbitrary server files, potentially exposing database credentials and compromising patient data. This vulnerability affects any organization using OpenEMR for patient records and could lead to unauthorized access to sensitive health information, regulatory violations, and reputational damage. Leadership must prioritize patching and access control review to protect patient trust and avoid compliance penalties.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patching, restrict document upload/download privileges to trusted users, disable or tightly restrict the REST document download endpoint, and monitor file access logs for anomalous activity.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
widely used open-source EHR, common in clinics but not ubiquitous enterprise-wide
Social Media
1
Sightings
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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