Skip to main content

CVE-2026-46391 — Vulnerability in @haxtheweb/open-apis — CVE Details

HIGH

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

Published May 19, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.55%). Schedule for your next planned update.

Does your project use an affected @haxtheweb/open-apis version?

Paste your package-lock.json to check it for CVE-2026-46391 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

Summary

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.

Details

api/services/website/cacheAddress.js, api/apps/haxcms/lib/JOSHelpers.js, and api/apps/haxcms/convert/elmslnToSite.js use similar logic to check for hard-coded site names. However, the logic only looks for the substring to be included in the user-controlled string, allowing an attacker to craft an API call and extract the credentials intended for the hard-coded domains.

PoC

Making API calls to an affected endpoint will result in credential theft. The attacker-controlled domains in these proofs of concept are cloudflared tunnels, protecting the production credentials from unencrypted exposure.

cacheAddress.js:

elmslnToSite.js:

JOSHelpers.js:

Impact

This vulnerability allows internal data, including secrets, to be exfiltrated to an attacker-controlled domain. Credentials were confirmed with the maintainer to grant access to unreleased LMS content on subsequent systems; out of scope for PoC.

Advisory Timeline

  • First published May 19, 2026 (191 days ago).
  • Last revised September 10, 2026 — 114 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update @haxtheweb/open-apis to 26.0.0 or later
npm install @haxtheweb/open-apis@26.0.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageFixed In
@haxtheweb/open-apis npm · Affected: All versions26.0.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-46391?
HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
How do I check if my project is affected by CVE-2026-46391?
CVE-2026-46391 affects @haxtheweb/open-apis. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-46391 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.6

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.55%
EPSS percentile: 39.4

This is a below-median EPSS score — only 39.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-4fg7-f244-3j49

Related CVEs

  • CVE-2026-46395
    CRITICAL

    HAXcms: Private Key Disclosure via Broken HMAC Implementation

  • CVE-2025-54127
    CRITICAL

    NodeJS version of HAX CMS Has Insecure Default Configuration That Leads to Unauthenticated Access

  • CVE-2026-83816
    HIGH

    CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

  • CVE-2026-83817
    HIGH

    CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

  • CVE-2026-48527
    HIGH

    HaxCMS has a stored Cross-Site Scripting (XSS) bypass in its saveNode endpoint

  • CVE-2026-46511
    HIGH

    HAXcms: Mass Token Exfiltration and Cross-Tenant Hijack

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json