Read the docs
TI-2026-34109 Aliases CVE-2026-46395GHSA-6c8g-9hfh-pq5h

HAX CMS Vulnerable to Private Key Disclosure via Broken HMAC Implementation

Priority HIGH 81CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure, Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200 and CWE-321.

Summary

HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0, the `hmacBase64()` function in the HAXcms Node.js backend contains two critical cryptographic implementation errors that together allow any unauthenticated attacker to extract the system’s private signing key and forge arbitrary admin-level JSON Web Tokens (JWTs) allowing them to get full admin access with a single HTTP request. First, the function passes the literal string "0" as the HMAC signing key instead of the key parameter, making every HAXcms instance compute identical HMACs for the same input. Then, after computing the HMAC, the function concatenates the real key parameter which is "this.privateKey + this.salt", the system’s master signing secret is directly onto the output. The combined buffer is base64-encoded and returned as the token. Every base64url token produced has the same structure: 32 bytes HMAC keyed with "0" and N bytes of `privateKey+salt`. An attacker base64-decodes any token, discards the first 32 bytes, and reads the private key directly. The `/system/api/connectionSettings` endpoint is unauthenticated and returns multiple tokens generated by this function. A single GET request to this endpoint exposes the private key. The PHP backend implements this function correctly with the actual key and returns only the hash. The PHP version produces 44-character tokens whereas the broken Node.js version produces 139+ character tokens. Version 26.0.0 fixes the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00295 22nd percentileScored 2026-11-07
Fix Fixed haxcms-nodejs (haxtheweb): 26.0.0@haxtheweb/haxcms-nodejs (npm): 26.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
haxthewebhaxcms-nodejsbefore 26.0.026.0.0Patch availableCNA
—@haxtheweb/haxcms-nodejs (npm)before 26.0.026.0.0Patch availableGHSA-6c8g-9hfh-pq5h
  • haxcms-nodejs Vendorhaxtheweb Affected before 26.0.0 Fixed in 26.0.0 Patch available CNA
  • @haxtheweb/haxcms-nodejs (npm) Vendor— Affected before 26.0.0 Fixed in 26.0.0 Patch available GHSA-6c8g-9hfh-pq5h

Remediation

  • Fix · CNA haxcms-nodejs (haxtheweb) Fixed in 26.0.0
  • Fix · GHSA-6c8g-9hfh-pq5h @haxtheweb/haxcms-nodejs (npm) Fixed in 26.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-46395
  2. 2026-10-03 Alias added: GHSA-6c8g-9hfh-pq5h

References

  • TI-2026-34105 HAX open-apis: Credential Theft via Server-Side Request Forgery (SSRF) in open-apis CVSS 4.0HIGH 8.7
  • TI-2026-27339 HAX CMS's public /server-status endpoint exposes authentication tokens, user activity, and client IP addresses CVSS 4.0HIGH 8.7
  • TI-2026-34113 Authenticated Remote Code Execution via File Overwrite CVSS 4.0CRITICAL 9.4
  • TI-2025-23152 HAX CMS PHP allows Insecure File Upload to Lead to Remote Code Execution CVSS 3.1CRITICAL 10.0
  • TI-2026-34194 HAX CMS: Stored XSS via '<video-player>' component allows arbitrary JavaScript execution and token theft CVSS 4.0CRITICAL 9.3
  • TI-2026-34110 HAX CMS has a stored XSS via <iframe> that allows access to sensitive client-side data and account takeover CVSS 4.0CRITICAL 9.3
See all 32 →

Sources