CVE-2026-46391 HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis
An attacker can exploit SSRF in HAX CMS open-apis to steal authentication credentials by bypassing hostname validation checks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-46391?
CVE-2026-46391 is a high-severity server-side request forgery vulnerability in @haxtheweb/open-apis, published on 5 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-46391?
2 open source packages ship an affected version, including @haxtheweb/open-apis.
| Package | Affected | Fixed in |
|---|---|---|
@haxtheweb/open-apis npm | All versions | 26.0.0 |
@haxtheweb/open-apis npm | All versions | 26.0.0 |
How do I fix CVE-2026-46391?
Upgrade @haxtheweb/open-apis to 26.0.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-46391 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46391 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-4fg7-f244-3j49.