{"id":"CVE-2026-49352","published":"2026-07-15T20:43:41Z","modified":"2026-07-16T18:55:46Z","title":"9Router: Hardcoded Default fallback JWT Secret Allows Authentication Bypass","vendor":"decolua","product":"9router","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02193,"percentile":0.82896,"provenance":"source"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}],"references":[{"url":"https://github.com/decolua/9router/security/advisories/GHSA-jphh-m39h-6gwx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/decolua/9router/commit/fe3ce25ae3cda48c0702c2d452e17f6ec214009d","tags":["x_refsource_MISC"]},{"url":"https://github.com/decolua/9router/releases/tag/v0.4.44","tags":["x_refsource_MISC"]}],"priority":{"score":28.4,"factors":[{"name":"EPSS percentile","points":16.58},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-06","earliestUrl":"https://github.com/covepseng/cve-2026-49352-poc","repos":[{"name":"covepseng/cve-2026-49352-poc","url":"https://github.com/covepseng/cve-2026-49352-poc","stars":1,"created":"2026-07-06"}]},"nuclei":[{"id":"CVE-2026-49352","name":"9router 0.2.21-0.4.41 - Hardcoded JWT Secret Authentication Bypass","severity":"critical","path":"http/cves/2026/CVE-2026-49352.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-49352.yaml"}],"first":{"date":"2026-07-06","source":"PoC-in-GitHub","url":"https://github.com/covepseng/cve-2026-49352-poc"},"provenance":"source"},"vendorSlug":"decolua","affectedVersions":[{"vendor":"decolua","product":"9router","versions":[">= 0.2.21, < 0.4.44"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-16T18:55:22.519146Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"9router","vulnerableRanges":[">=0.2.21, <0.4.45"],"patched":["0.4.45"],"from":["GHSA-jphh-m39h-6gwx"],"provenance":"source"}],"summary":{"text":"9Router, an AI router and token saver from decolua, uses a hardcoded fallback JWT secret in its login, middleware and dashboard session code, which is used whenever the JWT_SECRET setting is unset. An attacker with network access and no authentication or user interaction can forge an auth_token cookie signed with that known secret to bypass authentication, provided the deployment has not configured JWT_SECRET.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:43:09Z"},"euvd":{"id":"EUVD-2026-44809","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-decolua-9router-cve-2026-55500","parents":[{"from":"CVE-2026-55500","to":"CVE-2026-49352","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/lib/auth/dashboardSession.js"],"commits":["https://github.com/decolua/9router/commit/fe3ce25ae3cda48c0702c2d452e17f6ec214009d","https://github.com/decolua/9router/commit/0c7c9de00ae3ab81d6580e3cc368483c4c03f6fd"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-49352","to":"CVE-2026-55501","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:9router","fromFixed":"0.4.45","toFixed":"0.4.77","daysApart":-5},{"kind":"same-code","provenance":"machine","files":["src/dashboardGuard.js"],"commits":["https://github.com/decolua/9router/commit/fe3ce25ae3cda48c0702c2d452e17f6ec214009d","https://github.com/decolua/9router/commit/7648c3412b403a29f04967c4b4e9725e228791d4"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-5842","published":"2026-04-09","fixed":"0.3.75","kev":false},{"cve":"CVE-2026-46339","published":"2026-07-15","fixed":"0.4.37","kev":false},{"cve":"CVE-2026-59800","published":"2026-07-07","fixed":"0.4.44","kev":false,"link":{"from":"CVE-2026-59800","to":"CVE-2026-49352","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:9router","fromFixed":"0.4.44","toFixed":"0.4.45","daysApart":8}]}},{"cve":"CVE-2026-49352","published":"2026-07-15","fixed":"0.4.45","kev":false},{"cve":"CVE-2026-55501","published":"2026-07-10","fixed":"0.4.77","kev":false},{"cve":"CVE-2026-55638","published":"2026-07-10","fixed":"0.5.2","kev":false},{"cve":"CVE-2026-55641","published":"2026-07-10","fixed":"0.5.2","kev":false}],"package":"npm:9router"}}