CyberRota Analysis
AI-GeneratedThe Headroom WebSocket server prior to version 0.35.0 is vulnerable due to a lack of validation for the `Origin` header in incoming WebSocket requests, enabling unauthorized clients to send arbitrary requests to a large language model. This vulnerability can be exploited by malicious actors using browsers with access to the Headroom proxy and stored OpenAI API keys, potentially leading to unauthorized data access or manipulation. Organizations utilizing Headroom versions before 0.35.0 should prioritize updating to the latest version to mitigate this high-severity risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.