CVE-2026-55638
Deferred Deferred - Pending Action

Authentication Bypass in 9Router via Unprotected /codex Endpoint

Vulnerability report for CVE-2026-55638, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-10

Last updated on: 2026-07-10

Assigner: GitHub, Inc.

Description

9Router is an AI router & token saver. Prior to 0.5.2, 9router protects /v1, /v1beta, /api/v1, and /api/v1beta in src/dashboardGuard.js but omits /codex before next.config.mjs rewrites /codex/* to /api/v1/responses. A remote unauthenticated attacker can send requests to /codex/* to bypass the API-key gate and cause the server to make upstream provider calls using operator-stored LLM provider credentials. This issue is fixed in version 0.5.2.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-10
Last Modified
2026-07-10
Generated
2026-07-10
AI Q&A
2026-07-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
9router 9router to 0.5.2 (inc)
decolua 9router to 0.5.2 (exc)
decolua 9router to 0.4.82 (inc)
decolua 9router 0.5.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Compliance Impact

The vulnerability in 9router allows unauthenticated remote attackers to bypass API-key authentication and use the operator's stored LLM provider credentials to make upstream calls. This unauthorized access can lead to unexpected billing and exposure of model behavior.

Such unauthorized access and potential data exposure could negatively impact compliance with standards and regulations like GDPR and HIPAA, which require strict access controls and protection of sensitive data. The bypass of authorization mechanisms increases the risk of data misuse and unauthorized processing, which are critical compliance concerns.

Executive Summary

CVE-2026-55638 is a vulnerability in the 9router npm package that allows remote unauthenticated attackers to bypass API-key authentication by sending requests to the /codex/* endpoint. This happens because the middleware that enforces API-key checks only verifies the original request path before it is rewritten by Next.js configuration. The rewrite maps /codex/* to the protected backend endpoint /api/v1/responses, but the authorization check is skipped for /codex/* requests.

As a result, attackers can make the server perform upstream calls to the LLM provider using the operator's stored credentials without authorization.

Impact Analysis

This vulnerability can lead to unauthorized use of the LLM proxy service, allowing attackers to consume provider credits and cause unexpected billing charges for the operator.

Additionally, it may expose the behavior of the underlying language model, potentially leaking sensitive information or model responses.

Because the attack requires no privileges or user interaction and can be performed remotely over the network, it poses a high risk.

Detection Guidance

This vulnerability can be detected by checking if your 9router instance allows unauthenticated requests to the /codex/* endpoint, which bypasses the API-key authentication gate.

You can test this by sending an HTTP request to the /codex/* path and observing if the server processes the request without requiring authentication.

  • Use curl to send a request to the vulnerable endpoint, for example: curl -v http://<router-ip>:<port>/codex/test
  • Check server logs for any unauthorized access attempts or upstream provider calls triggered by requests to /codex/*.
  • Verify if the server is bound to 0.0.0.0 (all interfaces), which exposes it to external networks, by running commands like: netstat -tuln | grep <port> or ss -tuln | grep <port>
Mitigation Strategies

The primary mitigation step is to upgrade the 9router package to version 0.5.2 or later, where this vulnerability is fixed.

If immediate upgrade is not possible, restrict network access to the 9router service by limiting exposure to trusted networks only and avoid binding the server to 0.0.0.0.

Implement firewall rules or network policies to block unauthorized external access to the /codex/* endpoint.

Monitor server logs for suspicious requests to /codex/* and investigate any unexpected upstream provider calls.

Consider applying additional security controls such as size limits, timeout settings for remote media fetching, and host blocklists to reduce risk of related attacks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-55638. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart