Skip to main content

CVE-2026-71416: CWE-287: Improper Authentication in headroomlabs-ai headroom

0
High
VulnerabilityCVE-2026-71416cvecve-2026-71416cwe-287cwe-1385
Published: 09/11/2026 (09/11/2026, 13:34:38 UTC)
Source: CVE Database V5
Vendor/Project: headroomlabs-ai
Product: headroom

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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

headroomlabs-ai

headroom

Affected versions
<0.35.0
GitHub Actionsmore threats →ai
headroomlabs-ai/headroom
pkg:github/headroomlabs-ai/headroom
Affected versions
<0.35.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 14:01:52 UTC

Technical Analysis

The vulnerability arises because the Headroom WebSocket server fails to validate the Origin header on incoming WebSocket requests before forwarding them upstream. This improper authentication (CWE-287) allows a malicious WebSocket client, potentially running in a traditional or headless browser, to execute arbitrary LLM requests without proper authentication. Exploitation requires access to the Headroom proxy and the presence of the OpenAI API key in the environment variable OPENAI_API_KEY. The issue is resolved in headroom version 0.35.0.

Potential Impact

An attacker with access to the Headroom proxy and the OpenAI API key environment variable can bypass authentication and perform arbitrary requests to the large language model service. This can lead to unauthorized data access, data manipulation, and potential service disruption. The CVSS score is 8.8 (high severity), indicating a significant impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade headroom to version 0.35.0 or later, where the Origin header validation is implemented to prevent unauthorized WebSocket requests. No other mitigation is required as the issue is fixed in this version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-06T16:28:51.181Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa4067191cc7f38483b3d7b

Added to database: 09/11/2026, 13:47:29 UTC

Last enriched: 09/11/2026, 14:01:52 UTC

Last updated: 09/11/2026, 22:23:26 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses