Haxtheweb @haxtheweb/open-apis
HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9.0.1, < 26.0.0
Fixed in 26.0.0
Mitigation
Upgrade @haxtheweb/open-apis to 26.0.0 or later.
References
- Vendor advisory github.com/haxtheweb/issues/security/advisorie…
Timeline
Days relative to CVE publicationFirst public PoC 23 days before publication; not in CISA KEV. First PoC: bradyjmcl/cve-2026-46391 (created 14 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| bradyjmcl/cve-2026-46391 | 14 May 2026 −23 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /
- Key headers
Authorization: {var}- Ports
- 3000, 7777, 8888, 9090
- Seen in
- 1 repo: bradyjmcl/cve-2026-46391
- Evidence
- bradyjmcl/cve-2026-46391/main_test.go:421 bradyjmcl/cve-2026-46391/main_test.go:458
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000,7777,8888,9090] (msg:"GG PoC-Monitor CVE-2026-46391 haxtheweb @haxtheweb/open-apis exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header_names; content:"Authorization"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-46391; classtype:web-application-attack; sid:9015209; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: haxtheweb @haxtheweb/open-apis exploit attempt (CVE-2026-46391)
id: gg-pocmon-cve-2026-46391-9015209
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-46391. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-46391
logsource:
category: webserver
detection:
selection:
cs-method: GET
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.46391