CVE-2026-77776 PUBLISHED

Headroom Proxy Treats the Client-Supplied x-headroom-user-id Header as an Authenticated Identity

Assigner: VulnCheck
Reserved: 21.08.2026 Published: 21.08.2026 Updated: 21.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor Headroom Labs
Product Headroom
Versions Default: unaffected
  • affected from 0 to 0.36.1 (excl.)
  • Version 0.36.1 is unaffected

Credits

  • Gregory Tan (Grg0rry) finder

References

Problem Types

  • Authorization Bypass Through User-Controlled Key CWE