CVE-2026-123351

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

Published Nov 17, 2026 CVSS 3.1 · 4.7 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw arises from an unauthenticated GET /swagger/doc.json endpoint that copies the client-provided X-Forwarded-Host header unvalidated into the OpenAPI host field. An attacker can then force Swagger UI to issue API requests to an attacker-controlled host. The bearer token that Swagger UI includes in those requests is therefore exposed to the attacker, allowing them to read or modify the victim’s HomeBox data. If a shared cache or CDN propagates the poisoned document, the compromise extends to authenticated users. Without such a cache the impact is limited to the attacker’s own session.

Affected Systems

The vulnerability affects Sysadminsmedia HomeBox versions earlier than 0.27.0. No other vendors or products are listed.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity, and the vulnerability can be exploited by any network user without authentication using an HTTP GET request. EPSS data is not available and the issue is not listed in the CISA KEV catalog. Attackers can achieve secondary credential compromise only when a shared cache or CDN serves the injected OpenAPI document to authenticated users; otherwise the compromise is limited to the attacker’s own interaction.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HomeBox to version 0.27.0 or later
  • If upgrading is not immediately possible, configure the reverse proxy or server to strip or validate the X-Forwarded-Host header, treating it as trusted only when originating from a known proxy
  • Invalidate or purge any shared cache or CDN entries that may hold the poisoned /swagger/doc.json

Generated by OpenCVE AI on November 17, 2026 at 20:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sysadminsmedia
Sysadminsmedia homebox
Vendors & Products Sysadminsmedia
Sysadminsmedia homebox
Type Values Removed Values Added
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.
Title HomeBox: Unauthenticated X-Forwarded-Host injection into /swagger/doc.json lets an attacker control the host of the served OpenAPI spec
Weaknesses CWE-20
CWE-644
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-644

    Improper Neutralization of HTTP Headers for Scripting Syntax

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 17, 2026, 7:43 PM
Reserved
Nov 5, 2026, 8:43 PM
Status
Received
Published
Nov 17, 2026, 8:17 PM
Modified
Nov 17, 2026, 8:17 PM