CVE Catalog

CVE-2026-71416

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Summary

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 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.

Risk Assessment

An attacker could make unauthorized use of the organization's OpenAI API key, incurring costs and potentially exposing data sent to the model, as well as abusing proxy resources.

Recommendation

Update Headroom to version 0.35.0 or later, and until then restrict network access to the WebSocket server and protect the environment variable holding the API key.

Other vulnerabilities in Headroom

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS