Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as billing user (acct/bill or acct/eob)
-
DeliveryCraft 835 with traversal in GS04 element
-
ExploitUpload to era_payments.php or sl_eob_search.php
-
Executionrename()/copy() writes outside ERA directory
-
ImpactOverwrite .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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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-124943
GHSA-h78g-9g6c-wm8r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB