{"id":"CVE-2026-71416","title":"Headroom compresses data before the data reaches a large language model","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 …","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-287","CWE-1385"],"vendor":"headroomlabs-ai","product":"headroom","affected":["headroom < 0.35.0"],"published":"2026-09-11","updated":"2026-09-30","sourceUpdated":"2026-09-30T19:57:08.043","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-71416","references":[{"url":"https://github.com/headroomlabs-ai/headroom/releases/tag/v0.35.0","label":"security-advisories@github.com"},{"url":"https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf","label":"security-advisories@github.com"},{"url":"https://github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71416"},{"url":"https://github.com/headroomlabs-ai/headroom/pull/1481"},{"url":"https://github.com/headroomlabs-ai/headroom/commit/c632023cc1ec61d15f8f8e86efe3b54d51604a64"},{"url":"https://github.com/advisories/GHSA-h46j-26q3-rggf"},{"url":"https://github.com/headroomlabs-ai/headroom"},{"url":"https://pypi.org/project/headroom-ai"}],"tags":["nvd","cve.org","exploit-available","ghsa","pip","osv"],"epss":0.00174,"epssPercentile":0.06781,"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-11T14:31:54.198576Z"},"ingestedAt":"2026-09-12T13:45:54.272Z","aliases":["GHSA-h46j-26q3-rggf","PYSEC-2026-4220"],"ecosystem":"pip","patched":["headroom-ai 0.35.0"],"slug":"CVE-2026-71416","body":"## Overview\n\nHeadroom 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-71416)\n\nAffected packages:\n\n- `headroom-ai < 0.35.0`\n\nPatched in:\n\n- `headroom-ai 0.35.0`\n\nSource: https://github.com/advisories/GHSA-h46j-26q3-rggf","depth":"midnight","depthScore":60,"depthScoreParts":{"impact":48.4,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[]}