Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. headroom-ai
  4. ›
  5. CVE-2026-71416

CVE-2026-71416: Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)

October 2, 2026

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.

References

  • github.com/advisories/GHSA-h46j-26q3-rggf
  • github.com/headroomlabs-ai/headroom/commit/c632023cc1ec61d15f8f8e86efe3b54d51604a64
  • github.com/headroomlabs-ai/headroom/pull/1481
  • github.com/headroomlabs-ai/headroom/releases/tag/v0.35.0
  • github.com/headroomlabs-ai/headroom/security/advisories/GHSA-h46j-26q3-rggf
  • nvd.nist.gov/vuln/detail/CVE-2026-71416

Code Behaviors & Features

Detect and mitigate CVE-2026-71416 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.35.0

Fixed versions

  • 0.35.0

Solution

Upgrade to version 0.35.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1385: Missing Origin Validation in WebSockets
  • CWE-287: Improper Authentication

Source file

pypi/headroom-ai/CVE-2026-71416.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 00:23:42 +0000.