Vulnerability DatabaseCVE-2026-126490

CVE-2026-126490: 
OpenEMR vulnerability analysis and mitigation

Overview

CVE-2026-126490 is an information disclosure vulnerability in OpenEMR caused by active debug code left in interface/fax/fax_view.php. The file executes passthru("groups") and outputs the web server process's Unix group memberships to the browser when a fax job file cannot be opened. All OpenEMR versions before 8.5.0 are affected. It carries a CVSS v3.1 base score of 4.3 (Medium) and a CVSS v4.0 base score of 2.3 (Low). The vulnerability was published on October 28, 2026, and patched in OpenEMR 8.5.0 (GitHub Advisory).

Technical details

The root cause is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) and CWE-489 (Active Debug Code), reflecting that debugging instrumentation was never removed before release (GitHub Advisory). Specifically, lines 30–36 of fax_view.php attempt to open a fax job file via fopen(); if the file does not exist, the error-handling branch calls passthru("groups"), streaming the web server's Unix group memberships directly to the HTTP response. An attacker exploits this by supplying a valid alphanumeric ?jid= parameter value that does not correspond to any existing fax job in the HylaFAX spool directory, deliberately triggering the failure branch. Exploitation requires an authenticated session with access to the fax module and a valid CSRF token, but no further privileges or user interaction are needed (GitHub Advisory).

Impact

Successful exploitation discloses the Unix group memberships of the web server process (e.g., www-data adm fax disk shadow) to an authenticated attacker. Membership in sensitive groups such as shadow or adm reveals that the web process may have read access to /etc/shadow or system logs, providing actionable reconnaissance for targeted OS-level privilege escalation. There is no direct integrity or availability impact; the vulnerability is purely an information disclosure issue that serves as an enabler for follow-on attacks (GitHub Advisory).

Exploitability

A proof-of-concept is publicly documented in the official GitHub Security Advisory, which provides the exact endpoint, parameter, and expected response needed to reproduce the disclosure (GitHub Advisory). The NVD SSVC assessment classifies exploitation status as "poc" with partial technical impact and notes the vulnerability is not automatable (Feedly). There is no evidence of in-the-wild exploitation or threat actor attribution at this time. The EPSS score is approximately 0.0027 (0.27%), indicating a low probability of active exploitation in the near term.

Exploitation steps

  1. Authenticate to OpenEMR: Log in to an OpenEMR instance running a version before 8.5.0 using valid credentials for an account that has access to the fax module.
  2. Obtain a valid CSRF token: Retrieve a csrf_token_form value from any OpenEMR page that includes the token in its form or response headers, as it is required to pass CSRF validation.
  3. Send the crafted GET request: Issue the following HTTP request with a nonexistent jid value to trigger the debug branch:
    GET /openemr/interface/fax/fax_view.php?csrf_token_form=<valid_token>&jid=NOTEXIST HTTP/1.1
    Host: <target>
    Cookie: <session_cookie>
  4. Read the disclosed group memberships: The response body will contain output such as I am in these groups: www-data adm fax disk shadow, revealing the Unix groups of the web server process.
  5. Use reconnaissance data for follow-on attacks: Analyze the disclosed groups to identify sensitive resources accessible to the web process (e.g., shadow group membership implies potential access to /etc/shadow) and plan targeted privilege escalation accordingly (GitHub Advisory).

Indicators of compromise

  • Network: HTTP GET requests to /openemr/interface/fax/fax_view.php with a jid parameter value that does not correspond to any existing fax job (e.g., jid=NOTEXIST or other arbitrary alphanumeric strings).
  • Logs: Web server access logs showing repeated or anomalous requests to fax_view.php with unusual jid values, particularly from authenticated sessions not associated with normal fax operations; HTTP 200 responses to such requests where the response body contains the string I am in these groups:.
  • Application Behavior: Response bodies from fax_view.php containing the text I am in these groups: followed by Unix group names, indicating the debug branch was triggered (GitHub Advisory).

Mitigation and workarounds

Upgrade OpenEMR to version 8.5.0 or later, which removes the active debug code from fax_view.php (GitHub Advisory). As an interim workaround, restrict access to the fax module to only trusted users who genuinely require it, reducing the pool of accounts that could trigger the vulnerability. Additionally, review and minimize the Unix group memberships of the web server process to follow the principle of least privilege, limiting the value of any information that could be disclosed.

Additional resources


Source: This report was generated using AI

Related OpenEMR vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-126491HIGH8.3
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesNov 13, 2026
CVE-2026-126494HIGH7.1
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesNov 13, 2026
CVE-2026-126492HIGH7.1
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesNov 13, 2026
CVE-2026-134020MEDIUM6.5
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesNov 23, 2026
CVE-2026-126493MEDIUM4.8
  • OpenEMR logoOpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesNov 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management