CVE-2026-71416
HIGH 8.8CVSS 3.1Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)
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.
- Published
- 11 Sep 2026
- Last modified
- 15 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1385CWE-287
- Also known as
- GHSA-h46j-26q3-rggfPYSEC-2026-4220
- Sources
- NVDJSONOSV GHSA-h46j-26q3-rggfJSONOSV PYSEC-2026-4220JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | headroom-ai | < 0.35.0 | 0.35.0 |
References
- https://github.com/headroomlabs-ai/headroom/releases/tag/v0.35.0 · WEB
- https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-71416 · ADVISORY
- https://github.com/headroomlabs-ai/headroom/pull/1481 · WEB
- https://github.com/headroomlabs-ai/headroom/commit/c632023cc1ec61d15f8f8e86efe3b54d51604a64 · WEB
- https://github.com/headroomlabs-ai/headroom · PACKAGE
- https://pypi.org/project/headroom-ai · PACKAGE
- https://github.com/advisories/GHSA-h46j-26q3-rggf · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 11 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Oct 2026)