Patchfirst
CVE-2026-56681 Public exploit High · 7.3 EPSS 1.1%

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

Fix:upgrade 9router to 0.5.8 or later also fixes CVE-2026-55500, CVE-2026-59800 Details ↓

decolua · 9router

Summary

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.

Official description · CVE.org

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.

Breakdown
69.2 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

Disclosed on 22 Sep 2026. No public exploit code or confirmed exploitation is recorded.

See the family tree

7 related vulnerabilities in the same code over 4 months. The latest fix listed for 9router is 0.5.8.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2026-10269decolua 9router HTTP Header dashboardGuard.js isAuthenticated…1 Jun 2026
  2. same family
    CVE-2026-555009router: Exposure of Sensitive Information and Unprotected…10 Jul 2026
  3. same family
    CVE-2026-555019router: Login brute-force protection bypass via spoofed…10 Jul 2026
  4. relatedHigh

    Why these are linked:

    CVE-2026-493529Router: Hardcoded Default fallback JWT Secret Allows…15 Jul 2026
  5. same family
    CVE-2026-566789Router: Kiro region injection allows authenticated SSRF with…15 Jul 2026
  6. relatedHigh

    Why these are linked:

    This CVECVE-2026-566819Router: Authentication Bypass in Public LLM API via Spoofable…22 Sep 2026
  7. same family
    CVE-2026-566829Router: Login Brute-Force Lockout Bypass via Spoofable…22 Sep 2026

Fixes in 9routernpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 0.5.2CVE-2026-5667610 Jul 2026
  2. 0.5.4CVE-2026-5667915 Jul 2026
  3. 0.5.6CVE-2026-5667815 Jul 2026
  4. 0.5.8CVE-2026-5668122 Sep 2026
  5. 0.5.8CVE-2026-5668222 Sep 2026Latest listed

Affected versions and fixes

as published in the CVE record

decolua 9router

Affected: < 0.5.6

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: 9router.

Upgrade to 0.5.8 or later

Fixes this CVE and 2 other known vulnerabilities in this package (CVE-2026-55500, CVE-2026-59800).

npmnpm install 9router@0.5.8

The first fix for CVE-2026-56681.

Affected versions

If you runUpgrade to
All versions before 0.5.80.5.8

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close