Skip to main content

CVE-2026-56681: CWE-807: Reliance on Untrusted Inputs in a Security Decision in decolua 9router

0
High
VulnerabilityCVE-2026-56681cvecve-2026-56681cwe-807
Published: 09/22/2026 (09/22/2026, 16:02:25 UTC)
Source: CVE Database V5
Vendor/Project: decolua
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

decolua

9router

Affected versions
<0.5.6
GitHub Actionsmore threats →ai
decolua/9router
pkg:github/decolua/9router
Affected versions
<0.5.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/22/2026, 16:17:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses