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.
Published: 2026-09-11
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Unauthorized access to language model API using compromised WebSocket connections
Action: Upgrade Immediately
AI Analysis

Impact

Headroom compresses data before it reaches a large language model. Prior to version 0.35.0, the WebSocket server does not validate the Origin header of incoming client connections, which allows a malicious WebSocket client to forward requests to the upstream server without authentication. The result is that an attacker can issue arbitrary LLM requests using the victim’s stored OpenAI API key, potentially incurring flaw reflects a lack of origin validation and improper authentication (CWE-1385, CWE-287).

Affected Systems

The vulnerability affects the Headroom product from Headroom Labs, specifically any deployment running a version prior to 0.35.0. Victim systems that expose the Headroom WebSocket endpoint to browsers (including headless browsers) and that have the OPENAI_API_KEY environment variable available are at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity. EPSS information is not available, so the precise exploitation likelihood cannot be quantified, but the vulnerability is publicly documented and advisory links show that the flaw has been fixed in 0.35.0. The attack vector requires a malicious WebSocket client executed in a browser that can reach the Headroom proxy; the attacker need not have elevated privileges on the server but requires network access to the WebSocket endpoint. The repository advisory notes that this can be exploited by headless browsers such as Lightpanda. Because the flaw allows unauthenticated requests to the LLM, the impact is significant for confidentiality, integrity, and potential financial loss if the API key is compromised.

Generated by OpenCVE AI on September 11, 2026 at 15:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Headroom to version 0.35.0 or later to enforce Origin header validation on the WebSocket server
  • Configure the network so that the Headroom WebSocket endpoint is not publicly exposed and restrict access to trusted clients
  • Ensure that the OPENAI_API_KEY environment variable is not accessible to untrusted processes and rotate the key regularly

Generated by OpenCVE AI on September 11, 2026 at 15:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 11 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)
Weaknesses CWE-1385
CWE-287
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-11T14:33:18.586Z

Reserved: 2026-08-06T16:28:51.181Z

Link: CVE-2026-71416

cve-icon Vulnrichment

Updated: 2026-09-11T14:32:23.039Z

cve-icon NVD

Status : Received

Published: 2026-09-11T14:17:32.390

Modified: 2026-09-11T15:17:03.373

Link: CVE-2026-71416

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T15:45:17Z

Weaknesses
  • CWE-1385

    Missing Origin Validation in WebSockets

  • CWE-287

    Improper Authentication