{"id":"CVE-2026-56681","published":"2026-09-22T16:02:25Z","modified":"2026-09-28T19:31:54Z","title":"9Router: Authentication Bypass in Public LLM API via Spoofable X-9r-Real-Ip Header","vendor":"decolua","product":"9router","tier":"core","eol":null,"affectedVersions":[{"vendor":"decolua","product":"9router","versions":["< 0.5.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-28T19:31:39.694433Z","from":"CISA ADP","provenance":"source"},"description":{"text":"9Router is an AI router & token saver. Prior to 0.5.6, 9Router deployments that allow requests to reach Next.js without the sanitizing custom-server.js wrapper trust the client-supplied X-9r-Real-Ip header in src/dashboardGuard.js when isLocalRequest decides whether canAccessPublicLlmApi may skip API-key validation for /api/v1/* routes. A remote unauthenticated attacker can set X-9r-Real-Ip to 127.0.0.1 and be classified as a local client, including on the verified GET /api/v1/models route. This permits unauthorized use of the instance owner's configured LLM providers, consumption of paid credits, and enumeration of configured providers and models. This issue is fixed in version 0.5.6.","provenance":"source","from":"CVE.org"},"summary":{"text":"9Router, an AI router and token saver from decolua, contains an authentication bypass in src/dashboardGuard.js where the client-supplied X-9r-Real-Ip header is trusted when deciding whether a request is local and may skip API-key checks on /api/v1/* routes. An unauthenticated remote attacker can exploit this by setting that header to 127.0.0.1, provided the deployment lets requests reach Next.js without the custom-server.js wrapper that sanitizes the header.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:49Z"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0108,"percentile":0.64661,"date":"2026-11-26","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-11-20","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Known_Cve | Sep 24, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6ab3e498926ae6301f0a6910","created":"2026-09-23"}],"provenance":"machine"},"cwes":[{"id":"CWE-807","name":"Reliance on Untrusted Inputs in a Security Decision"}],"references":[{"url":"https://github.com/decolua/9router/security/advisories/GHSA-5mj8-gf6m-fhw8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/decolua/9router/commit/efd20be8d81ef2e256a7037f3aa78e6b567b5fd3","tags":["x_refsource_MISC"]},{"url":"https://github.com/decolua/9router/releases/tag/v0.5.6","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"9router","vulnerableRanges":["<0.5.8"],"patched":["0.5.8"],"from":["GHSA-5mj8-gf6m-fhw8"],"provenance":"source"}],"advisories":[{"id":"GHSA-5mj8-gf6m-fhw8","url":"https://github.com/advisories/GHSA-5mj8-gf6m-fhw8","severity":"HIGH","ecosystem":"npm","package":"9router","vulnerableRanges":["<0.5.8"],"patched":["0.5.8"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-84541","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-84541","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2026-56681","name":"9router <=0.5.4 - Authentication Bypass","severity":"high","path":"http/cves/2026/CVE-2026-56681.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-56681.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-09-22","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-56681","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":68.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 6 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":12.93,"detail":"percentile 0.6466"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":5.11,"detail":"base score 7.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-decolua-9router-cve-2026-10269","parents":[{"from":"CVE-2026-56678","to":"CVE-2026-56681","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:9router","fromFixed":"0.5.6","toFixed":"0.5.8","daysApart":69},{"kind":"same-code","provenance":"machine","files":["src/lib/oauth/constants/oauth.js","src/lib/oauth/providers.js"],"commits":["https://github.com/decolua/9router/commit/126aa244c5b51b74ab8c7594e3418fcf4437bf6f","https://github.com/decolua/9router/commit/efd20be8d81ef2e256a7037f3aa78e6b567b5fd3"],"basis":"rarely changed file"}]},{"from":"CVE-2026-55501","to":"CVE-2026-56681","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["custom-server.js","src/shared/components/OAuthModal.js"],"commits":["https://github.com/decolua/9router/commit/7648c3412b403a29f04967c4b4e9725e228791d4","https://github.com/decolua/9router/commit/efd20be8d81ef2e256a7037f3aa78e6b567b5fd3"],"basis":"shared function","functions":["OAuthModal"]}]}],"packageHistory":[{"cve":"CVE-2026-56676","published":"2026-07-10","fixed":"0.5.2","kev":false},{"cve":"CVE-2026-56679","published":"2026-07-15","fixed":"0.5.4","kev":false},{"cve":"CVE-2026-56678","published":"2026-07-15","fixed":"0.5.6","kev":false},{"cve":"CVE-2026-56681","published":"2026-09-22","fixed":"0.5.8","kev":false},{"cve":"CVE-2026-56682","published":"2026-09-22","fixed":"0.5.8","kev":false}],"package":"npm:9router"}}