{"id":"CVE-2026-71416","state":"PUBLISHED","title":"Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)","description":"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.","publishedAt":"2026-09-11T13:34:38.794Z","updatedAt":"2026-09-11T14:33:18.586Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["headroomlabs-ai headroom"],"affected":[{"vendor":"headroomlabs-ai","product":"headroom","versions":[{"version":"< 0.35.0","status":"affected"}]}],"references":["https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf","https://github.com/headroomlabs-ai/headroom/releases/tag/v0.35.0"],"weaknesses":["CWE-287","CWE-1385"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71416.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71416","state":"PUBLISHED","datePublished":"2026-09-11T13:34:38.794Z","dateUpdated":"2026-09-11T14:33:18.586Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-06T16:28:51.181Z"},"containers":{"cna":{"title":"Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)","descriptions":[{"lang":"en","value":"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":[{"vendor":"headroomlabs-ai","product":"headroom","versions":[{"version":"< 0.35.0","status":"affected"}]}],"references":[{"url":"https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf","name":"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","name":"https://github.com/headroomlabs-ai/headroom/releases/tag/v0.35.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1385","lang":"en","description":"CWE-1385: Missing Origin Validation in WebSockets","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-11T13:34:38.794Z"},"source":{"advisory":"GHSA-h46j-26q3-rggf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-11T14:31:54.198576Z","id":"CVE-2026-71416","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-11T14:33:18.586Z"}}]}}}