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.
Problem types
CWE-862: Missing Authorization
CWE-863: Incorrect Authorization
Product status
References
github.com/...router/security/advisories/GHSA-8gmq-j984-vp4r
github.com/...router/security/advisories/GHSA-8gmq-j984-vp4r
github.com/...ommit/b282f0554972ea35281520738759d76abcd0b0b3
github.com/decolua/9router/releases/tag/v0.5.2