# CVE-2026-77776: Headroom Proxy Treats the Client-Supplied x-headroom-user-id Header as an Authenticated Identity

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 44% of CVEs (2026-11-30)
- Published: 2026-08-21T11:22:51.779Z
- Modified: 2026-11-08T14:09:01.029Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- headroom-ai: before 0.36.1 (not affected: 0.36.1)

## Every score

- VulnCheck: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- VulnCheck: CVSS:4.0 9.3 Critical `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`

## References

- <https://github.com/headroomlabs-ai/headroom/pull/2207> (issue-tracking, patch)
- <https://github.com/headroomlabs-ai/headroom/blob/v0.29.0/headroom/proxy/handlers/openai.py> (technical-description)
- <https://github.com/headroomlabs-ai/headroom/blob/v0.36.1/headroom/proxy/identity.py> (technical-description)
- <https://github.com/headroomlabs-ai/headroom> (product)
- <https://www.vulncheck.com/advisories/headroom-proxy-treats-the-client-supplied-x-headroom-user-id-header-as-an-authenticated-identity> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-77776](https://www.cve.org/CVERecord?id=CVE-2026-77776), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-77776](https://nvd.nist.gov/vuln/detail/CVE-2026-77776), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-77776 · Whole record: https://cve.day/CVE-2026-77776.json · Rebuilt by cve.day 2026-11-25T22:59:34.779Z
