| 제목 | decolua 9router 0.5.55 Authorization Bypass |
|---|
| 설명 | A vulnerability has been found in 9Router (an open-source local AI routing gateway, npm packages 9router/9router-app), up to version 0.5.55. The vulnerability exists because the middleware's (src/dashboardGuard.js) API-Key guarded list (PUBLIC_PREFIXES) does not include the /responses path, while next.config.mjs rewrites this path to the chat handler at /api/v1/responses. Since Next.js middleware executes before URL rewriting, an attacker with no API key can access the /responses endpoint, which is then dispatched to the full chat pipeline (model resolution, account selection, upstream executor dispatch). Combined with the project's default configuration (REQUIRE_API_KEY=false as recommended in .env.example), the gateway becomes completely accessible without any credentials, allowing attackers to consume quota/costs from all configured upstream LLM accounts and potentially exfiltrate request data. Additionally, due to Next.js path segment normalization, variants such as /v1/../responses can also bypass the middleware. |
|---|
| 원천 | ⚠️ https://github.com/decolua/9router/issues/3677 |
|---|
| 사용자 | CAPT (UID 100253) |
|---|
| 제출 | 2026. 09. 01. AM 07:17 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 29. PM 08:32 (29 days later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 377538 [decolua 9router 까지 0.5.1 Codex Request next.config.mjs 약한 인증] |
|---|
| 포인트들 | 0 |
|---|