{"id":"GHSA-6mgf-v5j7-45cr","revision":"cefcad594a0344c8a8b8d25a9f312c7c","records":[{"revision":"cefcad594a0344c8a8b8d25a9f312c7c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-6mgf-v5j7-45cr","aliases":["CVE-2026-32913"],"title":"OpenClaw: fetch-guard forwards custom authorization headers across cross-origin redirects","description":"OpenClaw'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.\n\nThe 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.\n\n## Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Affected versions: `<= 2026.3.2`\n- Patched version: `2026.3.7`\n- Latest published npm version at patch time: `2026.3.2`\n\n## Impact\n\nA 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.\n\n## Fix Commit(s)\n\n- `46715371b0612a6f9114dffd1466941ac476cef5`\n\n## Verification\n\n- `pnpm check` passed\n- `pnpm test:fast` passed\n- Focused redirect regression tests passed\n- `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`\n\n## Release Process Note\n\nnpm `2026.3.7` was published on March 8, 2026. This advisory is fixed in the released package.\n\nThanks @Rickidevs for reporting.","state":0,"publishedAt":"2026-03-09T19:54:20+00:00","modifiedAt":"2026-03-30T13:49:21.54386+00:00","affected":[{"ecosystem":"npm","name":"openclaw","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.3.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["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"],"sourceUrl":"https://github.com/advisories/GHSA-6mgf-v5j7-45cr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6mgf-v5j7-45cr","identifiers":["GHSA-6mgf-v5j7-45cr","CVE-2026-32913"]},"retained":false,"historicalAffected":[]}],"coverage":[]}