CVE Catalog

CVE-2026-56681

HighCVSS 7.3
Published: Updated: Translated: NVD NIST

Summary

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 issue is fixed in version 0.5.6.

Risk Assessment

An attacker can make unauthorized use of the instance owner's configured LLM providers, consume paid credits, and enumerate configured providers and models. This can lead to financial loss and information disclosure.

Recommendation

Upgrade 9Router to version 0.5.6 or later. Ensure requests pass through the sanitizing custom-server.js wrapper and do not trust client headers for locality classification.

Other vulnerabilities in 9Router

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS