Intel

AIKIDO-2026-564744

@whatwg-node/fetch is vulnerable to Information Disclosure

GHSA-5vr3-24rx-7h7xPublished Oct 6, 2026
October 6, 2026

75

CVE Score

High

Information Disclosure

Are you affected? Scan for Free

TL;DR

The Node HTTP path in @whatwg-node/fetch builds the redirect request by reusing the original request's Headers object, so Authorization, Cookie, Cookie2, Proxy-Authorization, and an explicit Host header are sent to a different origin on a cross-origin redirect, leaking credentials to the redirect target. An https to http downgrade redirect leaks them too, since the scheme is part of the origin, while same-origin redirects are unaffected and the caller's original Headers object is not modified. The patch rebuilds the redirect request's headers, strips these headers on cross-origin hops, and rejects cors-mode cross-origin redirects whose target URL embeds credentials.

How do I fix this?

Upgrade the @whatwg-node/fetch library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.1 - 0.12.0

Fixed in 0.12.1

Background info

@whatwg-node/fetch is vulnerable to Information Disclosure in versions 0.0.1 - 0.12.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea