Summary
CVE-2026-62327 is a critical unauthenticated information disclosure vulnerability in 9Router (by decolua), a self-hosted Next.js-based AI provider routing dashboard, affecting all versions through 0.4.41. The flaw allows any remote attacker to retrieve full plaintext API keys for all connected AI provider accounts by sending a single unauthenticated HTTP request to the /api/usage/stats endpoint. With a CVSS 4.0 score of 9.3 (and a CVSS 3.1 score of 10.0), exploitation requires no credentials, no privileges, and no user interaction.
Technical details
- Root cause: Authentication middleware in
middleware.tsfails to intercept and enforce session validation on the/api/usage/statsNext.js API route. Additionally, provider credentials are serialized and returned in API responses without any field filtering, directly exposing raw key strings. - Trigger conditions: The vulnerability is exploitable whenever a 9Router instance is reachable over a network. The application’s built-in tunnel functionality — a documented feature — enables public internet exposure of otherwise local deployments, widening the attack surface.
- Attack vector: A single unauthenticated HTTP GET request to
/api/usage/statson any network-accessible 9Router instance is sufficient to exploit the vulnerability; no exploit tooling or chaining is required. - Impact: The response returns full plaintext API keys for all connected AI provider accounts, alongside token usage counts, cost breakdowns, and request metadata. Exploitation enables unauthorized use of connected AI services, billing fraud, and quota exhaustion against the affected organization’s provider accounts.
Affected software
- 9Router (npm package
9router, by decolua): all versions through and including 0.4.41
Severity
- CVSS 4.0 Score: 9.3 —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1 Score: 10.0 —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - CWE-306: Missing Authentication for Critical Function
- CWE-862: Missing Authorization
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Mitigation and recommended actions
- Immediate patch: Upgrade 9Router to version 0.4.45 or later, which introduces session validation via
getServerSession()on the affected API routes and removes unfiltered credential serialization. - Mandatory key rotation: All AI provider API keys (OpenAI, Anthropic, and any other configured providers) entered into the dashboard prior to patching must be treated as compromised and rotated immediately across all connected provider accounts.
- Network mitigation (if immediate patching is not feasible): Disable any tunnel or external-access configuration to restrict the 9Router dashboard to localhost-only access until the patch is applied.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

