Skip to content
MediumVulnerability

CVE-2026-56682: 9Router login rate limit bypass via spoofed X-9r-Real-Ip header

Identifier
CVE-2026-56682
Published
Record updated
View JSON
Affected
  • 9router <= 0.5.4
Fixed in
0.5.8

Summary

Prior to version 0.5.6, 9Router deployments that let requests reach Next.js without the sanitizing custom-server.js wrapper trust the client-supplied X-9r-Real-Ip header as the bucket key in getClientIp, checkLock, and recordFail in src/lib/auth/loginLimiter.js for POST /api/auth/login. An unauthenticated remote attacker can rotate that header on each password guess, so the five-attempt progressive lockout never returns HTTP 429. This allows unthrottled password guessing against the dashboard login, which can lead to an administrative session if the password is recovered.

Mitigation

This issue is fixed in version 0.5.6.