CVE-2026-77776
Headroom's LLM proxy derives the memory owner from the …
Headroom's LLM proxy derives the memory owner from the x-headroom-user-id request header. The header is read directly at several points in headroom/proxy/handlers/openai.py, including the chat completion and websocket paths, and nothing binds the value to the caller. A client can therefore name another user's identifier and read or write that user's stored LLM memory. The fix introduces a single resolve_memory_identity seam in headroom/proxy/identity.py that honors the header only for loopback or allowlisted callers and otherwise binds the identity to the proxy-token fingerprint or the operating system user. 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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
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/identity.py
- github.com/headroomlabs-ai/headroom/pull/2207
- www.vulncheck.com/advisories/headroom-proxy-treats-the-client-supplied-x-headroom-user-id-
- nvd.nist.gov/vuln/detail/CVE-2026-77776
- cve.org/CVERecord?id=CVE-2026-77776
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.