# CVE-2026-56681: 9Router: Authentication Bypass in Public LLM API via Spoofable X-9r-Real-Ip Header

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-22T16:02:25.018Z
- Modified: 2026-09-28T20:17:10.540Z
- Also known as: GHSA-5mj8-gf6m-fhw8
- Weaknesses: CWE-807
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- decolua 9router: < 0.5.6
- 9router (npm): before 0.5.8

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/decolua/9router/security/advisories/GHSA-5mj8-gf6m-fhw8> (exploit, web)
- <https://github.com/decolua/9router/commit/efd20be8d81ef2e256a7037f3aa78e6b567b5fd3> (web)
- <https://github.com/decolua/9router/releases/tag/v0.5.6> (web)
- <https://github.com/decolua/9router> (package)

## Sources

- CVE List: [CVE-2026-56681](https://www.cve.org/CVERecord?id=CVE-2026-56681), CVE Terms of Use, modified 2026-09-28
- GitHub Advisory Database: [GHSA-5mj8-gf6m-fhw8](https://github.com/advisories/GHSA-5mj8-gf6m-fhw8), CC-BY-4.0, modified 2026-09-22
- NVD: [CVE-2026-56681](https://nvd.nist.gov/vuln/detail/CVE-2026-56681), Public domain, modified 2026-09-28

---

Page: https://cve.day/CVE-2026-56681 · Whole record: https://cve.day/CVE-2026-56681.json · Rebuilt by cve.day 2026-11-25T22:59:40.453Z
