CVE-2026-27981

Source
https://cve.org/CVERecord?id=CVE-2026-27981
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27981.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-27981
Aliases
  • GHSA-j86g-v96v-jpp3
Published
2026-03-03T22:27:37.921Z
Modified
2026-04-10T05:37:39.568541Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
HomeBox has an Auth Rate Limit Bypass via IP Spoofing
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-307"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27981.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/sysadminsmedia/homebox

Affected ranges

Type
GIT
Repo
https://github.com/sysadminsmedia/homebox
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.1.0
v0.11.0
v0.11.1
v0.12.0
v0.12.1
v0.13.0
v0.14.0
v0.14.1
v0.14.2
v0.15.0
v0.15.1
v0.15.2
v0.16.0
v0.17.0
v0.17.1
v0.17.2
v0.18.0
v0.19.0
v0.2.0
v0.20.1
v0.20.2
v0.21.0
v0.22.0-rc.1
v0.22.1
v0.22.2
v0.22.3
v0.23.0
v0.23.0-rc.1
v0.23.1
v0.24.0-rc.1
v0.3.0
v0.3.1
v0.4.0
v0.5.0
v0.5.1
v0.6.0
v0.7.0
v0.8.0
v0.8.1
v0.8.2
v0.9.0
v0.9.1
v0.9.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27981.json"