Advisory record · GHSA-h46j-26q3-rggf

Headroom vulnerable to Cross-Site WebSocket Hijacking (CSWSH)

CVSS 8.8 HighEPSS 0.0017 · 6th percentile

Published by the GitHub Advisory Database at 2 Oct 2026, 23:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
headroom-aiPyPI<0.35.00.35.0
Identifiers
GHSA-h46j-26q3-rggf · CVE-2026-71416 · PYSEC-2026-4220
Weakness (CWE)
CWE-287 · CWE-1385
Published
2 Oct 2026
Updated
15 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Headroom (PyPI package headroom-ai) versions before 0.35.0 do not check the Origin header on incoming WebSocket connections to the proxy's OpenAI responses endpoint. A malicious web page opened in a browser that can reach the proxy can connect and use the server's stored OPENAI_API_KEY to make arbitrary LLM requests, which could include shell-tool prompts leading to command execution. Upgrade to headroom-ai 0.35.0 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0017, the 6th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.