CVE-2026-56675: 9Router Authentication Bypass via Loopback Trust Abuse
9Router, an AI-powered router designed to optimize token usage and costs, contains a critical authentication bypass flaw in versions before 0.5.2. The vulnerability stems from the application trusting all loopback traffic (127.0.0.1) as local, which allows a reverse proxy running on the same host to forward external requests through localhost. This causes the dashboard guard to incorrectly classify remote requests as trusted, granting unauthenticated access to API endpoints that should require authentication. An attacker can exploit this to discover available models, access credentials, and abuse upstream provider integrations.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.3 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- Weaknesses (CWE)
- CWE-287, CWE-290, CWE-306, CWE-441
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-10 / 2026-07-10
NVD description (verbatim)
9Router is an AI router & token saver. Prior to 0.5.2, 9router treats loopback requests as trusted and allows /v1/* access without an API key, so a same-host reverse proxy that forwards public traffic to the backend through 127.0.0.1 causes src/dashboardGuard.js to misclassify external requests as local. A remote unauthenticated attacker can access /v1 APIs such as /v1/models and may abuse configured upstream provider credentials through /v1 proxy endpoints depending on enabled providers. This issue is fixed in version 0.5.2.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in src/dashboardGuard.js, which implements an authentication check that exempts requests originating from 127.0.0.1. In typical deployments, this is reasonable—localhost requests are trusted. However, when a reverse proxy (such as Nginx or Apache) sits between the public internet and 9Router, it forwards external requests through the loopback interface, preserving the source IP as 127.0.0.1 in the backend's view. The guard cannot distinguish between legitimate local requests and proxied external traffic, allowing unauthenticated access to /v1/* endpoints. Attackers can enumerate /v1/models and exploit /v1 proxy endpoints to access configured credentials for upstream AI providers (OpenAI, Anthropic, etc.) depending on which providers are enabled in the deployment.
Business impact
Organizations using 9Router to manage and optimize API calls to multiple AI providers face immediate credential exposure. Attackers can extract API keys and authentication tokens for expensive third-party services, leading to unauthorized API consumption, billing fraud, and data exfiltration through compromised provider accounts. The vulnerability bypasses all authentication mechanisms, making it trivial to exploit at scale once discovered. Token saver deployments that aggregate requests across teams amplify the blast radius by concentrating credentials in a single target. Reputational damage follows if customer data or sensitive prompts flow through compromised upstream accounts.
Affected systems
9Router versions prior to 0.5.2 are affected. The vulnerability manifests specifically in deployments where 9Router is accessed via a reverse proxy on the same host—a common architecture in containerized and cloud environments. Single-machine deployments without a reverse proxy, or those where the reverse proxy is on a different host, are not vulnerable because the loopback assumption holds. The flaw is version-agnostic once exposed; any HTTP client with network access to the reverse proxy can trigger it.
Exploitability
Exploitability is very high. No authentication is required; no user interaction is needed; the attack is straightforward HTTP requests to publicly documented endpoints. An attacker needs only to identify that 9Router is running behind a reverse proxy (detectable via banner grabbing or endpoint enumeration) and send requests to /v1/models or /v1 proxy endpoints. The lack of authentication barriers and the simplicity of the attack vector—sending unauthenticated HTTP requests—makes this trivial to weaponize. The CVSS score of 8.3 reflects the network-accessible nature, low attack complexity, and consequences spanning confidentiality, integrity, and availability of upstream services.
Remediation
Upgrade 9Router to version 0.5.2 or later immediately. This version corrects the authentication guard to validate API keys or bearer tokens regardless of source IP, eliminating the loopback trust bypass. After patching, conduct a credential audit: rotate all API keys and tokens for upstream providers (OpenAI, Anthropic, Azure, etc.) that were configured in 9Router during the window the system was unpatched. Review access logs to detect any unauthorized /v1 endpoint calls and investigate downstream provider accounts for anomalous API usage and billing charges.
Patch guidance
The fix is contained in 9Router version 0.5.2. Review the official 9Router repository and release notes to confirm the version availability for your deployment method (Docker, npm, binary, etc.). If you are running an older release, update through your package manager or container registry. Verify the patch by confirming the version reported in the application's version endpoint after deployment. Test in a non-production environment first to ensure compatibility with your upstream provider configurations.
Detection guidance
Monitor HTTP access logs for unauthenticated requests to /v1/* endpoints, particularly /v1/models and /v1/proxy/* paths. Look for requests without Authorization headers or API keys originating from outside your organization. Implement network segmentation to restrict direct access to 9Router; enforce all traffic through the reverse proxy with additional authentication layers (OAuth2, mTLS, IP whitelisting). Deploy runtime monitoring to alert on repeated failed or successful authentication attempts. Check 9Router application logs for access patterns that bypass the dashboard guard. If available, enable audit logging for all API token usage to detect credential abuse on upstream providers.
Why prioritize this
This vulnerability merits immediate patching due to the combination of remote exploitability without authentication, direct exposure of high-value credentials (AI provider API keys), and the potential for significant financial and data theft. Organizations running 9Router in production, especially those managing shared token pools across teams, should treat this as a critical security incident until patched. The ease of exploitation and the concentration of credentials in a single service elevate the risk above typical HIGH-severity flaws.
Risk score, explained
The CVSS 8.3 (HIGH) score reflects a network-accessible vulnerability (AV:N) with low attack complexity (AC:L), no privilege required (PR:N), and no user interaction (UI:N). The scope is changed (S:C) because compromising 9Router impacts external systems (upstream providers). Confidentiality, integrity, and availability are all impacted: credentials are disclosed (C:L), attacker can modify requests (I:L), and upstream service abuse can degrade availability (A:L). The score does not fully capture the cascading impact on third-party provider accounts, which could justify emergency response even beyond the numerical rating.
Frequently asked questions
Does this vulnerability affect 9Router deployments that do not use a reverse proxy?
No. The vulnerability specifically requires a reverse proxy on the same host to forward external requests through 127.0.0.1. Deployments where 9Router is directly exposed or accessed through a different host are not vulnerable because the loopback trust assumption is valid. However, if you are unsure about your architecture, upgrade to 0.5.2 to eliminate ambiguity.
If I upgrade to 0.5.2, do I need to rotate my API keys for upstream providers?
Yes. If the system was unpatched and exposed to the internet via a reverse proxy, assume that API keys stored in 9Router configuration may have been accessed. Rotate all credentials for OpenAI, Anthropic, Azure, and any other upstream providers immediately after patching. Conduct a forensic review of provider account logs for unauthorized usage.
Can I mitigate this without upgrading immediately?
Temporary mitigations include: (1) disabling the reverse proxy or restricting its traffic to internal networks only; (2) implementing additional authentication at the reverse proxy layer (OAuth2 or mTLS) to block unauthenticated requests before they reach 9Router; (3) removing stored credentials from 9Router and using temporary or read-only tokens where possible. However, these are stop-gap measures. Upgrade as soon as possible.
Will my upstream provider billing show unauthorized usage if this vulnerability was exploited?
Possibly, but not certainly. If an attacker accessed /v1/models without triggering actual API calls to providers, there may be no billing impact or detectable footprint. However, if /v1/proxy endpoints were used to relay requests to upstream providers, charges would appear on your account. Review your provider billing and API audit logs for the period 9Router was unpatched, and investigate anomalies with your provider support team.
This analysis is provided for informational purposes to support vulnerability assessment and remediation planning. SEC.co makes no warranty regarding the accuracy, completeness, or timeliness of this information. Organizations should verify all claims against official vendor advisories, release notes, and their own testing. Patch versions, timelines, and affected product lists are subject to change. This document does not constitute legal, technical, or security advice; consult with your security team and vendor before making deployment decisions. No exploit code or weaponized proof-of-concept is provided or endorsed. Unauthorized access to computer systems is illegal; penetration testing should only be conducted with proper authorization and scope. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10243HIGHSmart Parking System 1.0 Authentication Bypass – Remote Admin Access
- CVE-2026-10281HIGHEnderfga claw-orchestrator Authentication Bypass – Patch Available
- CVE-2026-10617HIGHGoClaw Webhook Authentication Bypass – Remote Exploitation
- CVE-2026-12795HIGHAuthentication Bypass in BerriAI litellm SSO Debug Flow (CVSS 7.3)
- CVE-2026-13546HIGHAuthentication Bypass in Feehi CMS /api/articles REST API
- CVE-2026-14622HIGHAuthentication Bypass in jairiidriss Restaurant Website PHP-MySQL
- CVE-2026-45567HIGHRoxy-WI Authentication Bypass in HAProxy/Nginx Management Interface
- CVE-2026-46827HIGHOracle E-Business Suite Payroll Remote Compromise – 8.8 CVSS