OpenClaw < 2026.3.7 - Custom Authorization Header Leakage via Cross-Origin Redirects
cve-program · CVE-2026-32913
PublishedOpenClaw before 2026.3.7 contains an improper header validation vulnerability in fetchWithSsrFGuard that forwards custom authorization headers across cross-origin redirects. Attackers can trigger redirects to different origins to intercept sensitive headers like X-Api-Key and Private-Token intended for the original destination.
Read the publisher's advisoryeuvd · EUVD-2026-14599
PublishedOpenClaw before 2026.3.7 contains an improper header validation vulnerability in fetchWithSsrFGuard that forwards custom authorization headers across cross-origin redirects. Attackers can trigger redirects to different origins to intercept sensitive headers like X-Api-Key and Private-Token intended for the original destination.
Read the publisher's advisorynvd · CVE-2026-32913
PublishedOpenClaw before 2026.3.7 contains an improper header validation vulnerability in fetchWithSsrFGuard that forwards custom authorization headers across cross-origin redirects. Attackers can trigger redirects to different origins to intercept sensitive headers like X-Api-Key and Private-Token intended for the original destination.
Read the publisher's advisoryosv · GHSA-6mgf-v5j7-45cr
PublishedOpenClaw's `fetchWithSsrFGuard(...)` followed cross-origin redirects while preserving arbitrary caller-supplied headers except for a narrow denylist (`Authorization`, `Proxy-Authorization`, `Cookie`, `Cookie2`). This allowed custom authorization headers such as `X-Api-Key`, `Private-Token`, and similar sensitive headers to be forwarded to a different origin after a redirect. The fix switches cross-origin redirect handling from a narrow sensitive-header denylist to a safe-header allowlist, so only benign headers such as content negotiation and cache validators survive an origin change. ## Affected Packages / Versions - Package: `openclaw` (npm) - Affected versions: `<= 2026.3.2` - Patched version: `2026.3.7` - Latest published npm version at patch time: `2026.3.2` ## Impact A remote service that could trigger a redirect across origins could receive custom authorization credentials attached by OpenClaw callers. This can expose API keys, bearer-style custom headers, or private token headers intended only for the original destination. ## Fix Commit(s) - `46715371b0612a6f9114dffd1466941ac476cef5` ## Verification - `pnpm check` passed - `pnpm test:fast` passed - Focused redirect regression tests passed - `pnpm exec vitest run --config vitest.gateway.config.ts` still has unrelated current-`main` failures in `src/gateway/server-channels.test.ts` and `src/gateway/server-methods/agents-mutate.test.ts` ## Release Process Note npm `2026.3.7` was published on March 8, 2026. This advisory is fixed in the released package. Thanks @Rickidevs for reporting.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-32913 · CVE overview and exploitation status
cve-program · CVE-2026-32913
- https://github.com/openclaw/openclaw/security/advisories/GHSA-6mgf-v5j7-45cr
- https://github.com/openclaw/openclaw/commit/46715371b0612a6f9114dffd1466941ac476cef5
- https://vulncheck.com/advisories/openclaw-mar-custom-authorization-header-leakage-via-cross-origin-redirects
euvd · EUVD-2026-14599
- https://github.com/openclaw/openclaw/security/advisories/GHSA-6mgf-v5j7-45cr
- https://github.com/openclaw/openclaw/commit/46715371b0612a6f9114dffd1466941ac476cef5
- https://vulncheck.com/advisories/openclaw-mar-custom-authorization-header-leakage-via-cross-origin-redirects
nvd · CVE-2026-32913
- https://github.com/openclaw/openclaw/commit/46715371b0612a6f9114dffd1466941ac476cef5
- https://github.com/openclaw/openclaw/security/advisories/GHSA-6mgf-v5j7-45cr
- https://vulncheck.com/advisories/openclaw-mar-custom-authorization-header-leakage-via-cross-origin-redirects
osv · GHSA-6mgf-v5j7-45cr
- https://github.com/openclaw/openclaw/security/advisories/GHSA-6mgf-v5j7-45cr
- https://nvd.nist.gov/vuln/detail/CVE-2026-32913
- https://github.com/openclaw/openclaw/commit/46715371b0612a6f9114dffd1466941ac476cef5
- https://github.com/openclaw/openclaw
- https://github.com/openclaw/openclaw/releases/tag/v2026.3.7
- https://vulncheck.com/advisories/openclaw-mar-custom-authorization-header-leakage-via-cross-origin-redirects