p PatchFirst

CVE-2026-71416

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • headroom

    Versions
    • < 0.35.0: Affected

    No fix published

  • headroom-ai PyPI

    Versions
    • 0.10.0
    • 0.10.1
    • 0.10.10
    • 0.10.11
    • 0.10.12
    • 0.10.13
    • 0.10.14
    • 0.10.15
    • 0.10.16
    • 0.10.17
    • 0.10.18
    • 0.10.19
    • 0.10.2
    • 0.10.3
    • 0.10.4
    • 0.10.5
    • 0.10.6
    • 0.10.7
    • 0.10.8
    • 0.10.9
    • 0.11.0
    • 0.12.0
    • 0.13.0
    • 0.13.1
    • 0.13.2
    • 0.13.3
    • 0.13.4
    • 0.13.5
    • 0.13.6
    • 0.13.7
    • 0.13.8
    • 0.14.0
    • 0.14.1
    • 0.14.2
    • 0.14.3
    • 0.14.4
    • 0.14.5
    • 0.15.0
    • 0.15.1
    • 0.16.0
    • 0.17.0
    • 0.18.0
    • 0.18.1
    • 0.18.2
    • 0.19.0
    • 0.2.0
    • 0.2.1
    • 0.2.10
    • 0.2.12
    • 0.2.13
    • 0.2.14
    • 0.2.15
    • 0.2.2
    • 0.2.4
    • 0.2.5
    • 0.2.6
    • 0.2.7
    • 0.2.8
    • 0.2.9
    • 0.20.0
    • 0.20.1
    • 0.20.10
    • 0.20.11
    • 0.20.12
    • 0.20.13
    • 0.20.14
    • 0.20.15
    • 0.20.16
    • 0.20.17
    • 0.20.18
    • 0.20.19
    • 0.20.2
    • 0.20.20
    • 0.20.21
    • 0.20.26
    • 0.20.27
    • 0.20.3
    • 0.20.4
    • 0.20.5
    • 0.20.6
    • 0.20.7
    • 0.20.8
    • 0.20.9
    • 0.21.0
    • 0.21.1
    • 0.21.14
    • 0.21.15
    • 0.21.16
    • 0.21.17
    • 0.21.18
    • 0.21.19
    • 0.21.2
    • 0.21.20
    • 0.21.21
    • 0.21.22
    • 0.21.23
    • 0.21.24
    • 0.21.25
    • 0.21.26
    • 0.21.27
    • 0.21.28
    • 0.21.29
    • 0.21.3
    • 0.21.39
    • 0.21.4
    • 0.21.5
    • 0.21.6
    • 0.21.7
    • 0.21.8
    • 0.21.9
    • 0.22.0
    • 0.22.4
    • 0.23.0
    • 0.24.0
    • 0.25.0
    • 0.27.0
    • 0.28.0
    • 0.29.0
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.3.6
    • 0.3.7
    • 0.3.8
    • 0.30.0
    • 0.31.0
    • 0.32.0
    • 0.32.1
    • 0.33.0
    • 0.34.0
    • 0.4.0
    • 0.4.1
    • 0.4.2
    • 0.4.3
    • 0.4.4
    • 0.4.5
    • 0.4.6
    • 0.5.0
    • 0.5.1
    • 0.5.10
    • 0.5.11
    • 0.5.12
    • 0.5.13
    • 0.5.14
    • 0.5.15
    • 0.5.16
    • 0.5.17
    • 0.5.18
    • 0.5.19
    • 0.5.2
    • 0.5.20
    • 0.5.21
    • 0.5.22
    • 0.5.23
    • 0.5.24
    • 0.5.25
    • 0.5.3
    • 0.5.4
    • 0.5.5
    • 0.5.6
    • 0.5.7
    • 0.5.8
    • 0.5.9
    • 0.6.1
    • 0.6.2
    • 0.6.3
    • 0.6.4
    • 0.6.5
    • 0.6.6
    • 0.6.7
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.8.0
    • 0.8.1
    • 0.8.2
    • 0.8.3
    • 0.9.0
    • 0.9.1
    • 0.9.2
    • 0.9.3
    • 0.9.4
    • 0.9.5
    • 0.9.6
    • 0.9.7
    Affected ranges
    • ECOSYSTEM: < 0.35.0

    Update to 0.35.0

Original sources

Check your server →