# CVE-2026-123351: HomeBox: Unauthenticated X-Forwarded-Host injection into /swagger/doc.json lets an attacker control the host of the served OpenAPI spec

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/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.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-11-17T19:43:00.629Z
- Modified: 2026-11-19T21:45:05.043Z
- Weaknesses: CWE-20, CWE-644
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- sysadminsmedia homebox: < 0.27.0

## References

- <https://github.com/sysadminsmedia/homebox/security/advisories/GHSA-754m-5j7m-8wfv>
- <https://github.com/sysadminsmedia/homebox/commit/717133fffd3b8ad28c5662419ac20568f073c70f>
- <https://github.com/sysadminsmedia/homebox/releases/tag/v0.27.0>

## Sources

- CVE List: [CVE-2026-123351](https://www.cve.org/CVERecord?id=CVE-2026-123351), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-123351](https://nvd.nist.gov/vuln/detail/CVE-2026-123351), Public domain, modified 2026-11-19

---

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