CVE-2026-46391

HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis

Published Jun 5, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
HAX CMS helps manage microsite universe with PHP or NodeJs backends. Starting in version 9.0.1 and prior to version 26.0.0 of @haxtheweb/open-apis, multiple functions conduct substring-only matching to validate hostnames to which basic authorization should be sent. An attacker can append the matched substrings to an attacker-controlled endpoint and capture authentication. Version 26.0.0 fixes the issue.

Analysis

AI-generated

Technical impact

Multiple functions in @haxtheweb/open-apis before version 26.0.0 validate hostnames by checking for a substring match, and they send HTTP basic authentication credentials to any matched host. An attacker can supply an endpoint containing the matched substring, causing the server to forward stored credentials to the attacker's chosen host. This flaw allows the attacker to capture authentication tokens, which can then be used to impersonate users or access restricted resources.

Affected Systems

The vulnerability affects the HAX CMS project’s @haxtheweb/open-apis package, specifically versions starting at 9.0.1 up through 25.9.9. The issue is mitigated in version 26.0.0. All deployments of the open-apis component that are within the affected range are at risk.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. EPSS data is not available, and the flaw is not listed in the CISA KEV catalog. The likely attack vector involves a remote attacker making a crafted request to the vulnerable API; the flaw can be exploited without additional user interaction. An attacker can gain credentials with the same authorization level used by the server, potentially compromising user accounts or administrative functions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply update to @haxtheweb/open-apis version 26.0.0
  • Add strict hostname validation before sending basic authentication to any external host
  • If immediate update is not feasible, disable or restrict the affected API functions that send credentials until a patch is applied
  • Monitor API logs for abnormal outbound requests that may indicate SSRF attempts

Generated by OpenCVE AI on June 5, 2026 at 20:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4fg7-f244-3j49 HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Haxtheweb
Haxtheweb open-apis
Vendors & Products Haxtheweb
Haxtheweb open-apis
Type Values Removed Values Added
Description HAX CMS helps manage microsite universe with PHP or NodeJs backends. Starting in version 9.0.1 and prior to version 26.0.0 of @haxtheweb/open-apis, multiple functions conduct substring-only matching to validate hostnames to which basic authorization should be sent. An attacker can append the matched substrings to an attacker-controlled endpoint and capture authentication. Version 26.0.0 fixes the issue.
Title HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis
Weaknesses CWE-183
CWE-918
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N'}

Weaknesses
  • CWE-183

    Permissive List of Allowed Inputs

  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 8, 2026, 4:18 PM
Reserved
May 13, 2026, 7:53 PM
Status
Deferred
Published
Jun 5, 2026, 7:16 PM
Modified
Oct 26, 2026, 11:10 AM