Skip to content

CVE-2026-56682 9Router: Login Brute-Force Lockout Bypass via Spoofable X-9r-Real-Ip Header

MediumCVSS 5.3 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

9Router is an AI router & token saver. Prior to 0.5.6, 9Router deployments that allow requests to reach Next.js without the sanitizing custom-server.js wrapper use the client-supplied X-9r-Real-Ip value as the bucket key in getClientIp, checkLock, and recordFail in src/lib/auth/loginLimiter.js for POST /api/auth/login. A remote unauthenticated attacker can rotate the header on every password guess so each request uses a new failed-attempt bucket and the five-attempt progressive lockout never returns HTTP 429. This permits unthrottled password guessing against the dashboard login and can lead to an administrative session if the password is recovered. This issue is fixed in version 0.5.6.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm 9router(npm) < 0.5.8; <= 0.5.4 0.5.8 Fixed
decolua 9router = < 0.5.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
decolua 9router = < 0.5.6 No fix listed
npm 9router(npm) <= 0.5.4 No fix listed
npm 9router(npm) < 0.5.8 0.5.8

References