Openclaw cli: OpenClaw: fetch-guard forwards custom authorization headers across cross-origin redirects (CVE-2026-32913)
Description
OpenClaw CLI versions up to 2026.3.2 have a vulnerability in the fetchWithSsrFGuard function where custom authorization headers are forwarded across cross-origin redirects. This can expose sensitive headers like X-Api-Key or Private-Token to unintended origins. The issue is fixed in version 2026.3.7 by replacing a narrow denylist with a safe allowlist for headers forwarded during redirects.
CVSS v3.1
Score 9.3critical
Affected software
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
Technical Analysis
OpenClaw's fetchWithSsrFGuard(...) function followed cross-origin redirects while preserving arbitrary caller-supplied headers except for a narrow denylist that excluded only Authorization, Proxy-Authorization, Cookie, and Cookie2 headers. This allowed other sensitive custom authorization headers such as X-Api-Key and Private-Token to be forwarded to different origins after a redirect. The vulnerability was addressed by switching from a denylist approach to an allowlist approach, permitting only safe headers like content negotiation and cache validators to be forwarded across origins. The affected npm package versions are >=2026.1.29 and <2026.3.7, with the fix released in 2026.3.7.
Potential Impact
A remote service that can trigger a cross-origin redirect could receive sensitive custom authorization headers intended only for the original destination. This exposure risks leaking API keys, bearer tokens, or private tokens to unintended third-party origins, potentially leading to unauthorized access or data compromise. The CVSS score is 9.3 (critical), reflecting network attack vector, low attack complexity, no privileges or user interaction required, scope change, high confidentiality impact, and low integrity impact.
Mitigation Recommendations
A patch is available and should be applied. Users should upgrade openclaw to version 2026.3.7 or later, which implements a safe-header allowlist for cross-origin redirects, preventing sensitive custom authorization headers from being forwarded. No additional mitigation is required beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-32913
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245b612601ec6a3166bbb
Added to database: 10/04/2026, 12:25:26 UTC
Last enriched: 10/04/2026, 13:00:25 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.