CVE-2026-126481
Awaiting Analysis Awaiting Analysis - Queue

Path Traversal in OpenEMR via X12 835 File Upload

Vulnerability report for CVE-2026-126481, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
openemr openemr to 8.5.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-126481 is a path traversal vulnerability in OpenEMR versions before 8.5.0. It affects era_payments.php and sl_eob_search.php, allowing authenticated billing users to write files outside the ERA directory by exploiting traversal sequences in uploaded X12 835 files. Attackers can overwrite .edi or .835 files with malicious content in any writable directory.

Detection Guidance

Check for unauthorized file writes in directories writable by the web server, particularly in the ERA directory or /tmp. Review X12 835 file uploads for path traversal sequences like ../ in filenames. Monitor logs for suspicious file operations in era_payments.php and sl_eob_search.php.

Impact Analysis

This vulnerability allows attackers to overwrite existing files or plant malicious files in unexpected locations. This can lead to integrity loss, such as overwriting financial records or operational files, and potential availability disruption. If combined with other vulnerabilities, it could escalate to more severe impacts.

Mitigation Strategies

Upgrade OpenEMR to version 8.5.0 or later. Implement strict filename validation using basename() and regex checks to prevent path traversal. Restrict file write permissions to the ERA directory only. Review and remove any unauthorized files written outside the intended directory.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126481. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...