CVE-2026-56681

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.
Configurations

No configuration.

History

28 Sep 2026, 20:17

Type Values Removed Values Added
References () https://github.com/decolua/9router/security/advisories/GHSA-5mj8-gf6m-fhw8 - () https://github.com/decolua/9router/security/advisories/GHSA-5mj8-gf6m-fhw8 -

22 Sep 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-22 16:17

Updated : 2026-09-28 20:17


NVD link : CVE-2026-56681

Mitre link : CVE-2026-56681

CVE.ORG link : CVE-2026-56681


JSON object : View

Products Affected

No product.

CWE
CWE-807

Reliance on Untrusted Inputs in a Security Decision