HighVulnerabilityLLM-specific
GHSA-8gmq-j984-vp4r: 9router: Unauthenticated LLM proxy access via /codex rewrite authorization bypass
- Identifiers
- CVE-2026-55638GHSA-8gmq-j984-vp4r
- Published
- Record updated
- Affected
- 9router < 0.5.2
- Fixed in
- 0.5.2
- released June 17, 2026, 72 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 6.6%
Summary
9router exposes an OpenAI/Anthropic-compatible LLM proxy that is meant to require an API key through Next.js middleware. The middleware checks the original request path before a rewrite maps `/codex/*` to `/api/v1/responses`, and `/codex` is missing from the protected prefix list, so requests to `/codex/*` skip the key check. Tested on v0.4.80 (commit 23da7b1fe3bb8edd2bdbdb63fbbb15a476b02c56, Next.js 16.2.9), an unauthenticated remote request to `/codex/x` returned 200 OK where `/api/v1/responses` returned 401, letting attackers trigger upstream provider calls with operator-stored credentials.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online