CVE-2026-55553
published high CVSS 3.1 · 7.5urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| node-modules | — | urllib>= 3.0.0, < 4.9.1 · < 2.44.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| node-modules | urllib | >= 3.0.0, < 4.9.1 (affected)< 2.44.1 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-201 CWE-201: Insertion of Sensitive Information Into Sent Data
- CWE-522 CWE-522: Insufficiently Protected Credentials
References
7- https://github.com/node-modules/urllib/commit/7c86c465883ebd3dea5109c87d7bbe3b00960a16
- https://github.com/node-modules/urllib/commit/811a8d56e64e540bf6a19bf8b3737692f05d5c46
- https://github.com/node-modules/urllib/pull/812
- https://github.com/node-modules/urllib/pull/813
- https://github.com/node-modules/urllib/releases/tag/v2.44.1
- https://github.com/node-modules/urllib/releases/tag/v4.9.1
- https://github.com/node-modules/urllib/security/advisories/GHSA-hq3h-g68c-hp78
Provider assertions
2GitHub_M · cna
urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- df9ee56af5c5dd757edde32e39c952bcd7f8e9e1f1d9785fff56357943dad5fe
- Ingested
- 23 Sep 2026, 09:21:01 UTC
- Source record
- Official CVE record