SecurityContext

CVE-2026-77776: Headroom LLM Proxy - Broken Access Control

  • Cve: CVE-2026-77776
  • Name: Headroom LLM Proxy - Broken Access Control
  • Description: 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.
  • Impact: Attackers can read or modify other users' stored LLM memory, leading to data tampering and information disclosure.
  • Remediation: Restrict access to data-plane routes with authentication and update to a version that enforces identity binding via resolve_memory_identity.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00613
  • Epss percentile: 0.5029
  • Assignee: [email protected]
  • Published at: 2026-08-21T12:16:36Z
  • Age in days: 95
  • Modified at: 2026-10-15T19:10:00Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-77776
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-639Authorization Bypass Through User-Controlled Key

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/headroomlabs-ai/headroom
https://github.com/headroomlabs-ai/headroom/blob/v0.29.0/headroom/proxy/handlers/openai.py
https://github.com/headroomlabs-ai/headroom/blob/v0.36.1/headroom/proxy/identity.py
https://github.com/headroomlabs-ai/headroom/pull/2207
https://www.vulncheck.com/advisories/headroom-proxy-treats-the-client-supplied-x-headroom-user-id-header-as-an-authenticated-identity

Projects

RepositoryLink kindsIndexedUrl
headroomlabs-ai/headroompullyes/v1/repositories/headroomlabs-ai/headroom

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts