Vulnerability · Published Aug 25, 2026 · Assigned by GitHub_M
CVE-2026-55553urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage
High 7.5
In plain English
A high-severity information exposure in urllib from node-modules. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | urllib | 4.9.1 | GHSA-hq3h-g68c-hp78 |
| npm | urllib | 2.44.1 | GHSA-hq3h-g68c-hp78 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| node-modules | urllib | >= 3.0.0, < 4.9.1< 2.44.1 |
Weakness: CWE-200, CWE-201, CWE-522 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/node-modules/urllib/security/advisories/GHSA-hq3h-g68c-hp78 x_refsource_CONFIRM
- https://github.com/node-modules/urllib/pull/812 x_refsource_MISC
- https://github.com/node-modules/urllib/pull/813 x_refsource_MISC
- https://github.com/node-modules/urllib/commit/7c86c465883ebd3dea5109c87d7bbe3b00960a16 x_refsource_MISC
- https://github.com/node-modules/urllib/commit/811a8d56e64e540bf6a19bf8b3737692f05d5c46 x_refsource_MISC
- https://github.com/node-modules/urllib/releases/tag/v2.44.1 x_refsource_MISC
- https://github.com/node-modules/urllib/releases/tag/v4.9.1 x_refsource_MISC