Skip to content
OpenAdvisories
High · 7.5 CVE-2026-55553 EUVD-2026-65613GHSA-hq3h-g68c-hp78

urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage

Published Aug 25, 2026 · Updated Aug 25, 2026 · Assigned by GitHub_M

Description

urllib is an HTTP client for Node.js that supports authentication, redirects, timeouts, and other request features. Prior to 4.9.1 and 2.44.1, urllib follows redirects through followRedirect but reuses caller-supplied options across origins. In src/HttpClient.ts, #requestInternal recursively calls this.#requestInternal(nextUrl.href, options, requestContext), causing options.headers and auth or digestAuth values to be reused when the redirect target has a different scheme, host, or port. Authorization, Cookie, Proxy-Authorization, x-api-key, x-auth-token, and x-access-token can therefore be sent to an attacker-controlled redirected origin, exposing credentials intended for the original origin and potentially allowing reuse against the original partner API or related services. No user interaction is required. This issue is fixed in versions 2.44.1 and 4.9.1.

Affected products

VendorProductAffectedFixed
node-modules urllib >= 3.0.0, < 4.9.1, < 2.44.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-urllib3 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm urllib >= 3.0.0, < 4.9.1 4.9.1 GHSA-hq3h-g68c-hp78
npm urllib < 2.44.1 2.44.1 GHSA-hq3h-g68c-hp78

References