{"id":"CVE-2026-71416","published":"2026-09-11T13:34:38Z","modified":"2026-09-11T14:33:18Z","title":"Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)","vendor":"headroomlabs-ai","product":"headroom","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.07008,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"references":[{"url":"https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/headroomlabs-ai/headroom/releases/tag/v0.35.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":1.4},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"headroomlabs-ai","affectedVersions":[{"vendor":"headroomlabs-ai","product":"headroom","versions":["< 0.35.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-11T14:31:54.198576Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"headroom-ai","vulnerableRanges":["<0.35.0"],"patched":["0.35.0"],"from":["GHSA-h46j-26q3-rggf","PYSEC-2026-4220"],"provenance":"source"}],"summary":{"text":"Headroom, a data-compression proxy that sits in front of large language models, has a WebSocket server that fails to validate the Origin header on incoming connections, so it can be reached by pages from other origins. An attacker who gets a malicious WebSocket client run in a browser that can reach the Headroom proxy, such as through user interaction, can make unauthenticated LLM requests that use the OpenAI API key stored in the OPENAI_API_KEY environment variable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:53Z"},"euvd":{"id":"EUVD-2026-76105","exploited":false,"provenance":"source"}}