Skip to main content
← All vulnerabilities
CVE-2026-56681GHSA-5MJ8-GF6M-FHW8

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.5.6, 0.5.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • decolua 9router

    fixed in 0.5.6

  • 9routernpm

    fixed in 0.5.8

References 3

GitHub · decolua/9router