Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| headroomlabs-ai | headroom | before 0.35.0 | 0.35.0 | Patch available | CNA |
| — | headroom-ai (PyPI) | before 0.35.0 | 0.35.0 | Patch available | GHSA-h46j-26q3-rggf |
- headroom Vendorheadroomlabs-ai Affected before 0.35.0 Fixed in 0.35.0 Patch available CNA
- headroom-ai (PyPI) Vendor— Affected before 0.35.0 Fixed in 0.35.0 Patch available GHSA-h46j-26q3-rggf
Remediation
- Fix · CNA headroom (headroomlabs-ai) Fixed in 0.35.0
- Fix · GHSA-h46j-26q3-rggf headroom-ai (PyPI) Fixed in 0.35.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71416
- 2026-10-03 Alias added: GHSA-h46j-26q3-rggf
References
Other 5
- https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf
- https://github.com/headroomlabs-ai/headroom/releases/tag/v0.35.0
- https://github.com/headroomlabs-ai/headroom/pull/1481
- https://github.com/headroomlabs-ai/headroom/commit/c632023cc1ec61d15f8f8e86efe3b54d51604a64
- https://github.com/headroomlabs-ai/headroom
Sources
- CVE-2026-71416 · CVE Program
- CVE-2026-71416 · NVD
- FIRST EPSS
- GHSA-h46j-26q3-rggf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences