Skip to main content
EPSS 0.3%top 78%

Openclaw cli: OpenClaw: MCP Streamable HTTP redirects could forward configured custom headers to another origin (CVE-2026-53840)

0
High
Published: 08/13/2026 (08/13/2026, 17:21:32 UTC)
Source: GCVE Database
Product: openclaw-cli

Description

OpenClaw CLI versions from 2026.1.29 up to but not including 2026.5.12 have a vulnerability where custom headers configured for MCP Streamable HTTP servers may be forwarded to a different origin if the MCP endpoint issues a cross-origin redirect. This can expose sensitive headers such as API keys or tenant-routing headers to unintended recipients. The issue only affects deployments using streamable-http transport with custom headers and MCP endpoints that can redirect cross-origin. A fix is available starting with version 2026.5.12.

CVSS v3.1

Score 7.1high

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

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
>=2026.1.29 <2026.5.12

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: 10/04/2026, 12:36:21 UTC

Technical Analysis

OpenClaw CLI supports remote MCP Streamable HTTP servers with operator-configured custom headers. In affected versions (>=2026.1.29 <2026.5.12), these custom headers could be forwarded to another origin if the MCP endpoint responded with a cross-origin redirect. This behavior risks exposing sensitive headers like API keys or tenant-routing headers to the redirect target. The vulnerability is limited to configurations using 'transportType: "streamable-http"' with custom headers under 'mcp.servers.*.headers' and MCP endpoints capable of redirecting to other origins. The first stable patched version is 2026.5.12.

Potential Impact

Sensitive custom headers configured for MCP Streamable HTTP servers, including API keys or tenant-routing headers, could be leaked to a redirect target if the MCP endpoint issues a cross-origin redirect. The scope of exposure depends on the specific headers configured by the operator. This could lead to unauthorized access or misuse of credentials associated with the MCP server.

Mitigation Recommendations

Upgrade OpenClaw CLI to version 2026.5.12 or later to apply the official fix. Before upgrading, avoid using custom MCP headers with MCP servers that are not fully trusted. Additionally, rotate any MCP-specific credentials that may have been exposed due to this vulnerability.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-openclaw-cli-CVE-2026-53840
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac2458c12601ec6a316412e

Added to database: 10/04/2026, 12:24:44 UTC

Last enriched: 10/04/2026, 12:36:21 UTC

Last updated: 10/04/2026, 16:08:39 UTC

Views: 3

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