Authenticated code execution via arbitrary-path file write
Published Mar 3, 2026 · Updated Mar 3, 2026
Arbitrary file write in OpenEMR 7.0.4 and earlier allows remote authenticated users to execute server-side code through the FaxSMS module. EtherFaxActions.php's disposeDocument() accepts an unvalidated file_path and base64-decodes attacker-controlled content directly into file_put_contents(), without confining the destination or file type. Any authenticated account can reach the action when the FaxSMS module is enabled and EtherFax is configured, allowing a PHP web shell to run as the web server user.
Summary
What happened
Arbitrary file write in OpenEMR 7.0.4 and earlier allows remote authenticated users to execute server-side code through the FaxSMS module. EtherFaxActions.php's disposeDocument() accepts an unvalidated file_path and base64-decodes attacker-controlled content directly into file_put_contents(), without confining the destination or file type. Any authenticated account can reach the action when the FaxSMS module is enabled and EtherFax is configured, allowing a PHP web shell to run as the web server user.
The record
- CVE
- CVE-2026-24848
- Published
- Mar 3, 2026
- Updated
- Mar 3, 2026
- Vendor
- OpenEMR Foundation
- Product
- OpenEMR
- Classifications
- CWE-22, T1505.003, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 3, 2026CVE publishedPublication date reported by the CVE source.
- Mar 3, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 7.0.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-5vp5-4rm6-h4c9 authenticated web-shell proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo