CVE-2026-55553
HIGH 7.5CVSS 3.1urllib's cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage
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.
- Published
- 25 Aug 2026
- Last modified
- 9 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200CWE-201CWE-522
- Also known as
- GHSA-hq3h-g68c-hp78
- Sources
- NVDJSONOSV GHSA-hq3h-g68c-hp78JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | urllib | >= 3.0.0, < 4.9.1 | 4.9.1 |
| OSV | npm | urllib | < 2.44.1 | 2.44.1 |
References
- https://github.com/node-modules/urllib/commit/7c86c465883ebd3dea5109c87d7bbe3b00960a16 · WEB
- https://github.com/node-modules/urllib/commit/811a8d56e64e540bf6a19bf8b3737692f05d5c46 · WEB
- https://github.com/node-modules/urllib/pull/812 · WEB
- https://github.com/node-modules/urllib/pull/813 · WEB
- https://github.com/node-modules/urllib/releases/tag/v2.44.1 · WEB
- https://github.com/node-modules/urllib/releases/tag/v4.9.1 · WEB
- https://github.com/node-modules/urllib/security/advisories/GHSA-hq3h-g68c-hp78 · WEB
- https://github.com/node-modules/urllib · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Aug 2026)