CVE-2026-27981CWE-307

HomeBox has an Auth Rate Limit Bypass via IP Spoofing

High · published March 3, 2026

CVSS v3.1
7.4
EPSS
0%
Percentile
34.3
In the wild
Unconfirmed
What it is

HomeBox is a home inventory and organization system. Prior to 0.24.0, the authentication rate limiter (authRateLimiter) tracks failed attempts per client IP. It determines the client IP by reading, 1. X-Real-IP header, 2. First entry of X-Forwarded-For header, and 3. r.RemoteAddr (TCP connection address). These headers were read unconditionally. An attacker connecting directly to Homebox could forge any value in X-Real-IP, effectively getting a fresh rate limit identity per request. There is a TrustProxy option in the configuration (Options.TrustProxy, default false), but this option was never read by any middleware or rate limiter code. Additionally, chi's middleware.RealIP was applied unconditionally in main.go, overwriting r.RemoteAddr with the forged header value before it reaches any handler. This vulnerability is fixed in 0.24.0.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00411 · 34.3th percentile
Weakness
CWE-307 · Improper Restriction of Excessive Authentication Attempts
Published
2026-03-03T22:27Z
EPSS history
Timeline
  • 03 MAR 22:27Z
    HomeBox has an Auth Rate Limit Bypass via IP Spoofing
    cvelistv5