# CVE-2026-27981: HomeBox has an Auth Rate Limit Bypass via IP Spoofing

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-03-03T22:27:37.921Z
- Modified: 2026-06-17T10:28:00.820Z
- Weaknesses: CWE-307
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sysadminsmedia homebox: < 0.24.0; before 0.24.0

## References

- <https://github.com/sysadminsmedia/homebox/security/advisories/GHSA-j86g-v96v-jpp3> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-27981](https://www.cve.org/CVERecord?id=CVE-2026-27981), CVE Terms of Use, modified 2026-03-04
- NVD: [CVE-2026-27981](https://nvd.nist.gov/vuln/detail/CVE-2026-27981), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27981 · Whole record: https://cve.day/CVE-2026-27981.json · Rebuilt by cve.day 2026-11-25T22:59:15.148Z
