Skip to content
Threat Feed
high advisory

OpenClaw fetchWithSsrFGuard replays unsafe request bodies across cross-origin redirects

The `fetchWithSsrFGuard` function in OpenClaw replays unsafe request bodies across cross-origin redirects, potentially leading to the exposure of sensitive information when following cross-origin redirects in versions prior to 2026.4.8.

Triage facts

Revision 2
Evidence
Unknown
Severity
High
Sources
1 public source
Freshness
Revision 2Jan 10, 12:00 UTC
Detection
2 rules
Revision history 1 entry · Revision 2
  1. Revision 2

    Repaired a legacy canonical identity collision

    Changed: slug

OpenClaw, a user-controlled local assistant, is vulnerable to a security issue where the fetchWithSsrFGuard function replays unsafe request bodies and headers across cross-origin redirects. Specifically, when a guarded fetch operation encounters a cross-origin redirect, it may inadvertently resend sensitive data contained within the request body or headers to a different origin than intended. This vulnerability affects OpenClaw versions prior to 2026.4.8. The patched version, 2026.4.8, addresses this issue. The fix was verified against commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5. This issue is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.

Attack Chain

  1. A user initiates a fetch request via OpenClaw's fetchWithSsrFGuard function.
  2. The fetch request includes a body or sensitive headers intended for a specific origin.
  3. The initial server responds with an HTTP 302 redirect to a different origin.
  4. The fetchWithSsrFGuard function, due to the vulnerability, replays the original request body and headers to the new origin.
  5. The destination server receives the unintended data.
  6. The destination server processes the data based on the replayed request.
  7. The destination server may inadvertently expose or misuse the sensitive data from the original request.

Impact

Successful exploitation of this vulnerability could lead to the exposure of sensitive user data to unintended third-party servers. While the specific number of victims is not mentioned, any OpenClaw user initiating fetch requests across different origins is potentially at risk. The severity is high because sensitive information such as API keys, authentication tokens, or personal data could be compromised if replayed to a malicious or untrusted destination.

Recommendation

  • Upgrade OpenClaw to version 2026.4.8 or later to remediate the vulnerability.
  • Implement additional checks and validations on the server-side to verify the origin and integrity of incoming requests.
  • Review and audit existing fetchWithSsrFGuard implementations to ensure proper handling of cross-origin redirects.

Detection coverage 2

Detect OpenClaw fetchWithSsrFGuard Cross-Origin Request with Body

medium

Detects outbound network connections from OpenClaw with a request body when following cross-origin redirects, indicating potential SSRF vulnerability exploitation.

sigma tactics: initial_access techniques: T1190 sources: network_connection, windows

Detect OpenClaw process creation

info

Detects OpenClaw process creation events, useful for tracking execution and potentially identifying malicious behavior related to SSRF exploitation.

sigma tactics: initial_access techniques: T1190 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →