CVE-2026-27981

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:sysadminsmedia:homebox:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:28

Type Values Removed Values Added
Summary
  • (es) HomeBox es un sistema de inventario y organización del hogar. Antes de 0.24.0, el limitador de tasa de autenticación (authRateLimiter) rastrea los intentos fallidos por IP de cliente. Determina la IP del cliente leyendo: 1. el encabezado X-Real-IP, 2. la primera entrada del encabezado X-Forwarded-For, y 3. r.RemoteAddr (dirección de conexión TCP). Estos encabezados se leían incondicionalmente. Un atacante conectándose directamente a Homebox podría falsificar cualquier valor en X-Real-IP, obteniendo efectivamente una nueva identidad de límite de tasa por solicitud. Existe una opción TrustProxy en la configuración (Options.TrustProxy, por defecto falso), pero esta opción nunca fue leída por ningún middleware o código del limitador de tasa. Además, el middleware.RealIP de chi se aplicaba incondicionalmente en main.go, sobrescribiendo r.RemoteAddr con el valor del encabezado falsificado antes de que llegara a cualquier gestor. Esta vulnerabilidad está corregida en 0.24.0.

05 Mar 2026, 17:56

Type Values Removed Values Added
CPE cpe:2.3:a:sysadminsmedia:homebox:*:*:*:*:*:*:*:*
First Time Sysadminsmedia
Sysadminsmedia homebox
References () https://github.com/sysadminsmedia/homebox/security/advisories/GHSA-j86g-v96v-jpp3 - () https://github.com/sysadminsmedia/homebox/security/advisories/GHSA-j86g-v96v-jpp3 - Vendor Advisory

03 Mar 2026, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-03 23:15

Updated : 2026-06-17 10:28


NVD link : CVE-2026-27981

Mitre link : CVE-2026-27981

CVE.ORG link : CVE-2026-27981


JSON object : View

Products Affected

sysadminsmedia

  • homebox
CWE
CWE-307

Improper Restriction of Excessive Authentication Attempts