OpenEMR: Path traversal via X12 835 file upload (CVE-2026-126481)
OpenEMR versions prior to 8.5.0 contain a path traversal vulnerability in era_payments.php and sl_eob_search.php that allows an authenticated billing user to overwrite files on the web server by embedding traversal sequences in X12 835 uploads.
CVE search metadata
CVE search record: CVE-2026-126481. KEV: no. Product: OpenEMR. Brief: OpenEMR: Path traversal via X12 835 file upload (CVE-2026-126481). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-path-traversal-cve-2026-126481/
Triage facts
Revision 1- Applicability
- OpenEMR
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 13, 12:35 UTC
- Detection
- 1 rule
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
OpenEMR versions prior to 8.5.0 are vulnerable to path traversal within the era_payments.php and sl_eob_search.php components. The vulnerability allows an authenticated user with billing privileges to manipulate the GS04 element of an uploaded X12 835 file. By inserting path traversal sequences, an attacker can write or overwrite files outside the intended ERA directory, restricted only by the write permissions of the web server service account.
Impact
Successful exploitation allows an authenticated attacker to overwrite sensitive files (specifically .edi or .835 files) residing anywhere the web server account has write access, potentially leading to unauthorized data manipulation or service disruption.
Recommendation
- Upgrade OpenEMR to version 8.5.0 or later immediately.
- Audit existing billing user permissions to ensure only authorized personnel have access to file upload features.
- Review file system integrity for .edi and .835 files if unauthorized modifications are suspected.
Immediate actions
Upgrade OpenEMR to version 8.5.0 or later.
Threat Hunt
Search web server access logs for anomalous POST requests to era_payments.php or sl_eob_search.php containing directory traversal patterns in the request data.
Data: Web server access logs with request body data
Detection coverage 1
Detect CVE-2026-126481 Exploitation - Path Traversal in X12 835 Uploads
highDetects path traversal attempts by monitoring HTTP POST requests to era_payments.php or sl_eob_search.php containing directory traversal patterns in the request body, which targets the GS04 element of X12 835 files.
Detection queries are available on the platform. Get full rules →