high8.8
CVE-2026-71416
Headroom compresses data before the data reaches a large language model.
Impact
Headroom compresses data before the data reaches a large language model. Prior to version 0.35.0, the Headroom WebSocket server does not validate the `Origin` header of incoming client WebSocket requests before forwarding the request to the upstream server, allowing malicious WebSocket clients to perform arbitrary LLM requests without authentication. This can be exploited by a malicious WebSocket client executed in a traditional or headless browser such as lightpanda, if the browser has access to the Headroom proxy and the OpenAI API key is stored in the `OPENAI_API_KEY` environment variable. Version 0.35.0 fixes the issue.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | headroom-ai | < 0.35.0 | 0.35.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-h46j-26q3-rggf
- https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf
- https://nvd.nist.gov/vuln/detail/CVE-2026-71416
- https://github.com/headroomlabs-ai/headroom/pull/1481
- https://github.com/headroomlabs-ai/headroom/commit/c632023cc1ec61d15f8f8e86efe3b54d51604a64
- https://github.com/headroomlabs-ai/headroom/releases/tag/v0.35.0