CVE-2026-65983

OpenEMR FaxSMS module: insecure staging of decrypted patient documents in webroot

Published Nov 5, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.2.0, interface/modules/custom_modules/oe-module-faxsms/src/Controller/SignalWireClient.php decrypts a selected patient document with Document::get_data() and SignalWireClient::uploadFileForFax() writes the plaintext bytes under sites/{siteId}/fax. The module returns the resulting public URL to SignalWire, protects it only with a predictable uniqid() filename, and never removes the staged file. An unauthenticated network actor who obtains or guesses the URL can retrieve persistent patient documents even when drive encryption is enabled. This issue is fixed in version 8.2.0.

Analysis

AI-generated

Technical impact

The vulnerability stems from the FaxSMS module taking a selected patient document, decrypting it, and writing the clear‑text bytes to a web‑accessible directory under sites/{siteId}/fax. The public URL is generated using only a predictable uniqid() filename, the file is never removed, and no additional access controls are applied. An unauthenticated actor who obtains or guesses the URL can read patient files even when the underlying drive encryption is enabled. The weakness is a confidentiality exposure (CWE‑200) coupled with improper file permissions (CWE‑552).

Affected Systems

The issue affects installations of OpenEMR prior to version 8.2.0, specifically the FaxSMS custom module located in interface/modules/custom_modules/oe-module-faxsms. Users running any earlier release that includes this module are vulnerable. The fix is incorporated in OpenEMR 8.2.0.

Risk and Exploitability

The CVSS score of 7.5 indicates a moderate‑to‑high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that widespread exploitation has not been observed to date. The likely attack vector is an unauthenticated network actor who can locate or guess the staged file URL, which requires no special privileges beyond network access to the application. Once the URL is known, the attacker can repeatedly download the file, potentially achieving persistent data exfiltration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.2.0 or later to remove the insecure file staging logic.
  • Configure the web server or application firewall to deny direct HTTP access to the sites/*/fax directory.
  • Apply restrictive file permissions or an .htaccess rule to prevent public download of any files placed in the fax staging location.

Generated by OpenCVE AI on November 5, 2026 at 21:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open-emr
Open-emr openemr
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.2.0, interface/modules/custom_modules/oe-module-faxsms/src/Controller/SignalWireClient.php decrypts a selected patient document with Document::get_data() and SignalWireClient::uploadFileForFax() writes the plaintext bytes under sites/{siteId}/fax. The module returns the resulting public URL to SignalWire, protects it only with a predictable uniqid() filename, and never removes the staged file. An unauthenticated network actor who obtains or guesses the URL can retrieve persistent patient documents even when drive encryption is enabled. This issue is fixed in version 8.2.0.
Title OpenEMR FaxSMS module: insecure staging of decrypted patient documents in webroot
Weaknesses CWE-200
CWE-552
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-552

    Files or Directories Accessible to External Parties

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 10:45 PM
Reserved
Jul 23, 2026, 6:54 PM
Status
Analyzed
Published
Nov 5, 2026, 8:17 PM
Modified
Nov 10, 2026, 7:12 PM