Read the docs
TI-2026-50045 Aliases CVE-2026-71416GHSA-h46j-26q3-rggf

Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)

Priority HIGH 73CWE-1385Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00174 6th percentileScored 2026-11-07
Fix Fixed headroom (headroomlabs-ai): 0.35.0headroom-ai (PyPI): 0.35.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
headroomlabs-aiheadroombefore 0.35.00.35.0Patch availableCNA
—headroom-ai (PyPI)before 0.35.00.35.0Patch availableGHSA-h46j-26q3-rggf
  • headroom Vendorheadroomlabs-ai Affected before 0.35.0 Fixed in 0.35.0 Patch available CNA
  • headroom-ai (PyPI) Vendor— Affected before 0.35.0 Fixed in 0.35.0 Patch available GHSA-h46j-26q3-rggf

Remediation

  • Fix · CNA headroom (headroomlabs-ai) Fixed in 0.35.0
  • Fix · GHSA-h46j-26q3-rggf headroom-ai (PyPI) Fixed in 0.35.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-71416
  2. 2026-10-03 Alias added: GHSA-h46j-26q3-rggf

References

Sources