Hardcoded JWT Secret in 9Router Enabled Authentication Bypass
Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen Jul 16, 2026

A critical vulnerability tracked as CVE-2026-49352 was disclosed in decolua's 9Router, where versions 0.2.21 through 0.4.43 used a hardcoded fallback JWT signing secret when JWT_SECRET was unset. An attacker could exploit the static secret to forge an auth_token cookie and bypass authentication, exposing systems to full compromise of confidentiality, integrity, and availability. The flaw is classified as CWE-798 and carries a critical CVSS 9.8 severity.
The issue was fixed in 9Router 0.4.44 by removing the hardcoded default secret and changing the application to load the signing key from the JWT_SECRET environment variable or a persisted file under ~/.9router/jwt-secret, generating a random 32-byte hex secret if none exists. Project updates also revised documentation to reflect the new secret-handling behavior and expanded protected API coverage to include /api/translator, reducing the risk of unauthorized access through improperly secured dashboard functions.


