7.7high
Headroom Proxy Sends Upstream Requests to a Client-Supplied Base URL Without Address Validation
- Severity
- 7.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Headroom's LLM proxy lets a client choose the upstream destination with the x-headroom-base-url request header. _resolve_openai_upstream_base in headroom/proxy/handlers/openai.py accepts the header value, requires only that it parse with an http or https scheme and a hostname, and returns it for use as the upstream base; _select_passthrough_base_url in headroom/providers/proxy_routes.py reads the same header for the passthrough routes. No check rejects loopback, link-local, or RFC 1918 destinations, and because the component is a proxy the upstream response is returned to the caller, so the request reaches internal services and cloud metadata addresses and their responses are disclosed. The Authorization header accompanying the request is forwarded unchanged to the caller-designated host. The pip console script binds 127.0.0.1 by default, but the reference docker-compose.yml ships --host 0.0.0.0 with published ports and no required HEADROOM_PROXY_TOKEN, which the server itself warns about at startup, so a deployment following the shipped compose exposes the affected data-plane routes to the network without authentication.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| headroom-ai | before 0.36.1 Not affected: 0.36.1 | CVE List |
All scores
| VulnCheck | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| VulnCheck | 7.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Headroom's LLM proxy lets a client choose the upstream destination with the x-headroom-base-url request header. _resolve_openai_upstream_base in headroom/proxy/handlers/openai.py accepts the header value, requires only that it parse with an http or https scheme and a hostname, and returns it for use as the upstream base; _select_passthrough_base_url in headroom/providers/proxy_routes.py reads the same header for the passthrough routes. No check rejects loopback, link-local, or RFC 1918 destinations, and because the component is a proxy the upstream response is returned to the caller, so the request reaches internal services and cloud metadata addresses and their responses are disclosed. The Authorization header accompanying the request is forwarded unchanged to the caller-designated host. The pip console script binds 127.0.0.1 by default, but the reference docker-compose.yml ships --host 0.0.0.0 with published ports and no required HEADROOM_PROXY_TOKEN, which the server itself warns about at startup, so a deployment following the shipped compose exposes the affected data-plane routes to the network without authentication.
NVD (es)
El proxy LLM de Headroom permite a un cliente elegir el destino upstream con la cabecera de solicitud x-headroom-base-url. _resolve_openai_upstream_base en headroom/proxy/handlers/openai.py acepta el valor de la cabecera, solo requiere que se analice con un esquema HTTP o HTTPS y un nombre de host, y lo devuelve para su uso como base upstream; _select_passthrough_base_url en headroom/providers/proxy_routes.py lee la misma cabecera para las rutas de passthrough. Ninguna comprobación rechaza destinos loopback, link-local o RFC 1918, y debido a que el componente es un proxy, la respuesta upstream se devuelve al llamador, por lo que la solicitud llega a servicios internos y direcciones de metadatos de la nube y sus respuestas son divulgadas. La cabecera de autorización que acompaña a la solicitud se reenvía sin cambios al host designado por el llamador. El script de consola de pip enlaza 127.0.0.1 por defecto, pero el docker-compose.yml de referencia se distribuye con --host 0.0.0.0 con puertos publicados y sin HEADROOM_PROXY_TOKEN requerido, de lo cual el propio servidor advierte al inicio, por lo que una implementación que siga el compose distribuido expone las rutas del plano de datos afectadas a la red sin autenticación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-77775 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-77775 changed 2026-10-15 | Public domain |