Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-56681

HIGH 7.3EPSS 65%

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

Also known as GHSA-5mj8-gf6m-fhw8

Mitigation

  • Upgrade 9router to 0.5.8 or later.

Who should check

  • Projects that depend on npm package 9router (< 0.5.8)
  • Anyone running decolua 9router < 0.5.6

Vulnerability facts

Affected
9router < 0.5.8
Fixed in
0.5.8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
EPSS
1.08% chance of exploitation in 30 days (percentile 65, 2026-11-26)
CWE
CWE-807
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm 9router< 0.5.80.5.8osv
decolua 9router< 0.5.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-56681. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-56681.md
Affected: 9router < 0.5.8
Fixed in: 0.5.8

Steps:
1. Search this machine and project for 9router (npm), decolua 9router: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-56681 being exploited?

There is no confirmed exploitation: CVE-2026-56681 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.08% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-56681?

High: CVSS 7.3 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-56681?

9router < 0.5.8.

Is there a fix for CVE-2026-56681?

Yes. Fixed in 0.5.8. Upgrade 9router to 0.5.8 or later.

How do I check if I'm affected by CVE-2026-56681?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors