Skip to main content

OpenEMR CVE-2026-126481

| EUVDEUVD-2026-124943 HIGH
Path Traversal (CWE-22)
2026-11-13 VulnCheck GHSA-h78g-9g6c-wm8r
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as billing user (acct/bill or acct/eob)
  2. Delivery
    Craft 835 with traversal in GS04 element
  3. Exploit
    Upload to era_payments.php or sl_eob_search.php
  4. Execution
    rename()/copy() writes outside ERA directory
  5. Impact
    Overwrite .edi/.835 financial records with attacker content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated OpenEMR session for a user with billing permissions - specifically the acct/bill or acct/eob write ACL (PR:L). The attacker must reach the ERA Posting workflow (interface/billing/era_payments.php) or the EOB search upload (interface/billing/sl_eob_search.php) and submit a crafted X12 835 file with traversal sequences embedded in the GS04 element (and derived isa_control_number / payer_id values), which are concatenated into the write path without basename()/realpath() validation. Limiting factors: the write target must be a directory writable by the web-server (e.g. apache) user - the advisory confirmed writes to /tmp and sites/default/documents/ but NOT the web root, which was not writable in their deployment (an OS permission, not an app control); the written file extension is forced to .edi or .835, so direct webshell/RCE is not achievable per the authors. No remote-unauthenticated path exists. Versions 8.5.0 and later are not affected.

Impact

This is a credible but not emergency-tier priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the 7.2 HIGH score agree with the description: network-reachable, low complexity, no user interaction, but requiring prior authentication (PR:L) as a billing user with the acct/bill or acct/eob write ACL. Impact is correctly scoped to integrity and availability (VI:H/VA:H, VC:N) - this is an arbitrary file write/overwrite primitive, not confidentiality loss and, per the advisory's own honest assessment, not RCE (the extension is forced to .edi/.835 and null-byte truncation is not possible). No EPSS score and no CISA KEV entry are present in the input, so there is no signal of active or widespread exploitation; absence of these is not evidence of safety but means exploitation is not confirmed. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a patched, authentication-gated flaw. A detailed, author-tested proof-of-concept is published in the vendor GHSA advisory, which materially lowers the bar to reproduce. Net: the required billing privilege is the main limiter - this is a privilege-gated integrity/availability bug against healthcare financial records, worth patching on a near-term (this-week) cadence rather than treating as a drop-everything remote-unauthenticated issue.

Exploit ScenarioDerived

An authenticated OpenEMR user holding routine billing permissions crafts an X12 835 remittance file whose GS04 element begins with a path-traversal sequence, then uploads it through the ERA Posting screen (era_payments.php) or sl_eob_search.php. OpenEMR builds the destination filename from values parsed out of the uploaded file without basename() or a base-directory check, so the attacker's file content is written to any path writable by the web-server user, overwriting existing .edi/.835 financial archives. A tested public PoC in the vendor advisory demonstrates writes into /tmp and into sites/default/documents/, outside the intended ERA directory.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

OpenEMR versions before 8.5.0 let an authenticated user holding routine billing permissions (acct/bill or acct/eob write ACL) write attacker-controlled content to any filesystem path writable by the web-server user, by embedding directory traversal sequences in the GS04 element of an uploaded X12 835 remittance (ERA) file. The parsed value is concatenated into a rename()/copy() destination without basename(), canonicalisation, or a base-directory check, so files land outside sites/<site>/documents/era/ - the advisory's own testing confirmed writes into sites/default/documents/ and /tmp, and in sl_eob_search.php the rename() is unconditional so existing .edi/.835 remittance archives are silently overwritten. Integrity and availability impact is high but the forced .edi/.835 extension means no direct webshell or RCE is claimed; a public PoC walkthrough with curl commands is published in the upstream GitHub advisory, and prioritisation is this_week rather than emergency tier, with no KEV or EPSS signal supplied.

RemediationAI

Vendor-released patch: upgrade to OpenEMR 8.5.0 or later, which contains the fix for the filename derived from uploaded file contents (the same basename(), strict-name regex and realpath()-inside-ERA-directory checks that the code previously applied only to the pending_eraname POST parameter); see the advisory at https://github.com/openemr/openemr/security/advisories/GHSA-mf55-7h68-r2rp. Where upgrading cannot be done immediately, the practical compensating controls are to restrict the acct/bill and acct/eob write ACLs to the smallest set of trusted billing staff, since every exploitation path requires an authenticated billing session, and to ensure the web-server user has no write permission on the web root and other sensitive directories - the advisory's test showed the web-root write only failed because the apache user could not write there, so that OS-level restriction is what limits blast radius on unpatched installs, at the cost of possibly breaking legitimate document handling if directories are over-restricted. Because the written file extension is forced to .edi/.835 and RCE is not claimed, no additional code-execution-specific mitigation is required beyond those access and filesystem controls, but ERA and EDI archive directories should be monitored for unexpected files appearing outside sites/<site>/documents/era/ and documents/edi/history/f835/.

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

The flaw is CWE-22 (path traversal), with the advisory also tagging CWE-73 (external control of file name or path), in OpenEMR's PHP billing subsystem. X12 835 remittance files are parsed by src/Billing/ParseERA.php, which extracts isa_control_number (ISA13), gs_date (GS04) and payer_id (N1*PR) using trim() only. Those three values are joined into $eraname and concatenated into "$eraDir/$eraname.edi" in interface/billing/era_payments.php and ".../documents/era/$eraname.edi" plus a second destination ".../documents/edi/history/f835/$eraname.835" in interface/billing/sl_eob_search.php, then used as rename() and copy() targets. X12 uses '*' as the element separator and '~' as the segment terminator, so '/' and '.' are ordinary data characters and '../' survives parsing intact; putting the traversal in GS04 places it at the start of the assembled filename so the resolved path escapes the ERA directory. The advisory describes this as an incomplete fix: era_payments.php already applies basename(), realpath() and a base-directory prefix check plus a strict /^[0-9]{8}_[0-9]+_[0-9]+$/ regex, but only to the pending_eraname POST parameter on the overwrite-confirmation branch - the filename derived from uploaded file contents on the initial upload is never validated. Because PHP has not allowed null-byte path truncation since 5.3 and the extension is forced to .edi or .835, the primitive is arbitrary file write/overwrite rather than direct PHP code execution. The advisory notes that a write to the web root failed in its test deployment purely because the apache user lacked OS write permission there, not because of any application-level control.

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.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Network-reachable upload, low complexity, no UI, but requires authenticated billing ACL (PR:L); arbitrary file write/overwrite gives high integrity and availability impact, no confidentiality, scope unchanged.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
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:34 cve.org
HIGH 7.2

DescriptionCVE.org

OpenEMR before 8.5.0 contains a path traversal vulnerability in era_payments.php and sl_eob_search.php that allows authenticated billing users to write files outside the ERA directory. Attackers can embed traversal sequences in the GS04 element of an uploaded X12 835 file to overwrite .edi or .835 files with attacker-controlled content anywhere writable by the web server.

Technical POC Analysis

CWE-22 (path traversal; the advisory also tags CWE-73, external control of file name/path), in OpenEMR's ERA (X12 835) upload path.

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

A high-severity flaw in OpenEMR before 8.5.0 lets billing-authorized users exploit a path traversal vulnerability in ERA file uploads to overwrite arbitrary files writable by the web server. This compromises the integrity and availability of remittance archives and potentially other system files, directly affecting finance and billing operations. Leadership should prioritize remediation this week to prevent data tampering and service disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Medium
most popular open-source EHR, but confined to the healthcare sector
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.5%
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

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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