Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @haxtheweb/haxcms-nodejs
  4. ›
  5. CVE-2026-46395

CVE-2026-46395: HAXcms: Private Key Disclosure via Broken HMAC Implementation

May 19, 2026

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.

References

  • github.com/advisories/GHSA-6c8g-9hfh-pq5h
  • github.com/haxtheweb/issues/security/advisories/GHSA-6c8g-9hfh-pq5h
  • nvd.nist.gov/vuln/detail/CVE-2026-46395

Code Behaviors & Features

Detect and mitigate CVE-2026-46395 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.0.0

Fixed versions

  • 26.0.0

Solution

Upgrade to version 26.0.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-321: Use of Hard-coded Cryptographic Key
  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

npm/@haxtheweb/haxcms-nodejs/CVE-2026-46395.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 30 May 2026 00:17:33 +0000.