CVE-2026-123351
HomeBox: Unauthenticated X-Forwarded-Host injection into /swagger/doc.json lets an attacker control the host of the served OpenAPI spec
- CVSS
- 4.7
- EPSS
- 0.28% (p22)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-19
- Product
- sysadminsmedia homebox
- Aliases
- GHSA-754m-5j7m-8wfv
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
Description
HomeBox is a home inventory and organization system. Prior to 0.27.0, the unauthenticated GET /swagger/doc.json endpoint copies the client-supplied X-Forwarded-Host header into the OpenAPI host field without requiring a trusted proxy or validating the value. An attacker can therefore make the served OpenAPI document direct Swagger UI Try it out requests to an attacker-controlled host. When a shared cache or CDN stores and serves that poisoned document to an authenticated user, Swagger UI sends the user's API requests and bearer token to the attacker, enabling disclosure and modification of the user's HomeBox data. Without a shared cache, the attacker can affect only the attacker's own response. This issue is fixed in version 0.27.0.
Sources
- NVD · first seen 19d ago · NVD terms of use
- OSV · first seen 18d ago · CC-BY 4.0
- CVE List · first seen 19d ago · CVE Terms of Use
References
- https://github.com/sysadminsmedia/homebox/security/advisories/GHSA-754m-5j7m-8wfv x_refsource_CONFIRM
- https://github.com/sysadminsmedia/homebox/commit/717133fffd3b8ad28c5662419ac20568f073c70f x_refsource_MISC
- https://github.com/sysadminsmedia/homebox/releases/tag/v0.27.0 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123351.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-123351 advisory