CVE-2026-56681

Source
https://cve.org/CVERecord?id=CVE-2026-56681
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56681.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-56681
Aliases
Published
2026-09-22T16:02:25Z
Modified
2026-09-24T03:45:33Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
9Router: Authentication Bypass in Public LLM API via Spoofable X-9r-Real-Ip Header
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-807"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56681.json"
}
References

Affected packages

Git / github.com/decolua/9router

Affected ranges

Type
GIT
Repo
https://github.com/decolua/9router
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "0.5.6"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.2.21
v0.2.27
v0.2.31
v0.2.36
v0.2.43
v0.2.52
v0.2.56
v0.2.67
v0.2.70
v0.2.71
v0.2.79
v0.2.89
v0.3.17
v0.3.34
v0.3.42
v0.3.47
v0.3.75
v0.3.83
v0.3.86
v0.3.87
v0.3.89
v0.3.90
v0.3.91
v0.3.97
v0.3.98
v0.4.1
v0.4.10
v0.4.11
v0.4.12
v0.4.13
v0.4.14
v0.4.16
v0.4.18
v0.4.19
v0.4.2
v0.4.20
v0.4.25
v0.4.27
v0.4.28
v0.4.29
v0.4.3
v0.4.30
v0.4.31
v0.4.33
v0.4.36
v0.4.37
v0.4.38
v0.4.39
v0.4.4
v0.4.41
v0.4.44
v0.4.46
v0.4.49
v0.4.50
v0.4.52
v0.4.55
v0.4.58
v0.4.59
v0.4.6
v0.4.62
v0.4.63
v0.4.66
v0.4.71
v0.4.8
v0.4.80
v0.5.2
v0.5.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56681.json"