Skip to main content
← All vulnerabilities
CVE-2026-71416GHSA-H46J-26Q3-RGGFPYSEC-2026-4220

Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.35.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • headroomlabs-ai headroom

    fixed in 0.35.0

  • headroom-aiPyPI

    fixed in 0.35.0

References 2

GitHub · headroomlabs-ai/headroom