Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. 9router
  4. ›
  5. CVE-2026-49352

CVE-2026-49352: 9router's Hardcoded Default fallback JWT Secret Allows Authentication Bypass

July 2, 2026

9router uses a publicly known hardcoded string "9router-default-secret-change-me" as the fallback of JWT secret for all Dashboard session JWTs when the JWT_SECRET environment variable is not set. Because this secret is committed in the public repository and unchanged across all releases, any unauthenticated remote attacker can forge a valid auth_token cookie and gain full access to dashboard and api (If JWT_SECRET is not set on server) . This vulnerable affected so many public 9router server

References

  • github.com/advisories/GHSA-jphh-m39h-6gwx
  • github.com/decolua/9router/security/advisories/GHSA-jphh-m39h-6gwx
  • nvd.nist.gov/vuln/detail/CVE-2026-49352

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.2.21 before 0.4.45

Fixed versions

  • 0.4.45

Solution

Upgrade to version 0.4.45 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-798: Use of Hard-coded Credentials

Source file

npm/9router/CVE-2026-49352.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:42 +0000.