CVE-2026-77775
Headroom's LLM proxy lets a client choose the upstream destination …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/headroomlabs-ai/headroom
- github.com/headroomlabs-ai/headroom/blob/v0.29.0/headroom/proxy/handlers/openai.py
- github.com/headroomlabs-ai/headroom/blob/v0.36.1/headroom/proxy/upstream_guard.py
- github.com/headroomlabs-ai/headroom/pull/2207
- www.vulncheck.com/advisories/headroom-proxy-sends-upstream-requests-to-a-client-supplied-b
- nvd.nist.gov/vuln/detail/CVE-2026-77775
- cve.org/CVERecord?id=CVE-2026-77775
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.