p PatchFirst

CVE-2026-56682

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.3 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • 9router

    Versions
    • < 0.5.6: Affected

    No fix published

  • 9router npm

    Affected ranges
    • SEMVER: < 0.5.8

    Update to 0.5.8

Original sources

Check your server →