CVE-2026-56681: CWE-807: Reliance on Untrusted Inputs in a Security Decision in decolua 9router
CVE-2026-56681 is a vulnerability in decolua 9router versions prior to 0.5.6 where the application improperly trusts the client-supplied X-9r-Real-Ip header. This allows a remote unauthenticated attacker to bypass API key validation by spoofing the header to appear as a local request. Exploitation permits unauthorized access to API routes, unauthorized use of configured LLM providers, consumption of paid credits, and enumeration of providers and models. The issue is fixed in version 0.5.6.
AI Analysis
Technical Summary
The vulnerability arises from reliance on untrusted input in a security decision within 9router's src/dashboardGuard.js, specifically in the isLocalRequest function. When requests reach Next.js without the sanitizing custom-server.js wrapper, the client-controlled X-9r-Real-Ip header is trusted to determine if the request is local. An attacker can set this header to 127.0.0.1, bypassing API key validation for /api/v1/* routes, including the GET /api/v1/models endpoint. This enables unauthorized use of the instance owner's configured large language model (LLM) providers, leading to potential credit consumption and information disclosure. The vulnerability is addressed by patching in version 0.5.6.
Potential Impact
An unauthenticated remote attacker can bypass API key validation by spoofing the X-9r-Real-Ip header, gaining unauthorized access to protected API endpoints. This can result in unauthorized consumption of paid LLM provider credits and enumeration of configured providers and models, potentially causing financial loss and information disclosure.
Mitigation Recommendations
Upgrade to version 0.5.6 or later, where this vulnerability is fixed. Ensure that requests to Next.js are properly sanitized using the custom-server.js wrapper to prevent trusting client-supplied headers for security decisions. Patch status is confirmed fixed in 0.5.6.
CVE-2026-56681: CWE-807: Reliance on Untrusted Inputs in a Security Decision in decolua 9router
Description
CVE-2026-56681 is a vulnerability in decolua 9router versions prior to 0.5.6 where the application improperly trusts the client-supplied X-9r-Real-Ip header. This allows a remote unauthenticated attacker to bypass API key validation by spoofing the header to appear as a local request. Exploitation permits unauthorized access to API routes, unauthorized use of configured LLM providers, consumption of paid credits, and enumeration of providers and models. The issue is fixed in version 0.5.6.
CVSS v3.1
Score 7.3high
Affected software
decolua
9router
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from reliance on untrusted input in a security decision within 9router's src/dashboardGuard.js, specifically in the isLocalRequest function. When requests reach Next.js without the sanitizing custom-server.js wrapper, the client-controlled X-9r-Real-Ip header is trusted to determine if the request is local. An attacker can set this header to 127.0.0.1, bypassing API key validation for /api/v1/* routes, including the GET /api/v1/models endpoint. This enables unauthorized use of the instance owner's configured large language model (LLM) providers, leading to potential credit consumption and information disclosure. The vulnerability is addressed by patching in version 0.5.6.
Potential Impact
An unauthenticated remote attacker can bypass API key validation by spoofing the X-9r-Real-Ip header, gaining unauthorized access to protected API endpoints. This can result in unauthorized consumption of paid LLM provider credits and enumeration of configured providers and models, potentially causing financial loss and information disclosure.
Mitigation Recommendations
Upgrade to version 0.5.6 or later, where this vulnerability is fixed. Ensure that requests to Next.js are properly sanitized using the custom-server.js wrapper to prevent trusting client-supplied headers for security decisions. Patch status is confirmed fixed in 0.5.6.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-22T16:39:01.044Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab2a6c5f7a7c54106658e03
Added to database: 09/22/2026, 16:03:17 UTC
Last enriched: 09/22/2026, 16:17:47 UTC
Last updated: 09/22/2026, 16:27:48 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.