CVE-2026-53840
Description
OpenClaw before 2026.5.12 leaks operator-configured custom headers (API keys, tenant credentials) during cross-origin redirects from malicious/compromised MCP Streamable HTTP servers.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
OpenClaw before 2026.5.12 leaks operator-configured custom headers (API keys, tenant credentials) during cross-origin redirects from malicious/compromised MCP Streamable HTTP servers.
Vulnerability
OpenClaw versions before 2026.5.12 contain an information disclosure vulnerability in the streamable-http MCP server transport. When an MCP server is configured with custom headers (e.g., API keys, tenant-routing credentials) under mcp.servers.*.headers, and the server responds with a cross-origin redirect, those custom headers are forwarded to the redirect target. This affects deployments where transportType is set to "streamable-http" and custom headers are used. [1][2]
Exploitation
An attacker must control or compromise an MCP endpoint that is configured by the operator with custom headers. The attacker then causes the endpoint to issue an HTTP redirect to an attacker-controlled origin. The OpenClaw client automatically follows the redirect and forwards the custom headers to the new origin, exfiltrating the sensitive data. No user interaction is required beyond the initial server configuration. [1]
Impact
Successful exploitation exposes the configured custom headers to the attacker. These headers often contain sensitive credentials such as API keys or tenant-routing tokens. The scope of compromise depends on the privileges associated with the exposed credentials. This could lead to unauthorized access to downstream services or data if the credentials are reused. [1][2]
Mitigation
The issue is fixed in OpenClaw version 2026.5.12. Users should upgrade immediately. As a workaround, avoid using custom headers with untrusted MCP servers and rotate any credentials that may have been exposed. No KEV listing has been reported at this time. [1][2]
AI Insight generated on Jun 16, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
2News mentions
0No linked articles in our index yet.