urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage
Summary
| CVE | CVE-2026-55553 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-25 17:17:32 UTC |
| Updated | 2026-08-25 19:16:49 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-200 | CWE-201 | CWE-522 | 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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Node-modules | Urllib | affected >= 3.0.0, < 4.9.1 | Not specified |
| CNA | Node-modules | Urllib | affected < 2.44.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/node-modules/urllib/pull/812 | [email protected] | github.com | |
| github.com/node-modules/urllib/commit/811a8d56e64e540bf6a19bf8b3737692f0... | [email protected] | github.com | |
| github.com/node-modules/urllib/releases/tag/v4.9.1 | [email protected] | github.com | |
| github.com/node-modules/urllib/pull/813 | [email protected] | github.com | |
| github.com/node-modules/urllib/security/advisories/GHSA-hq3h-g68c-hp78 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/node-modules/urllib/releases/tag/v2.44.1 | [email protected] | github.com | |
| github.com/node-modules/urllib/commit/7c86c465883ebd3dea5109c87d7bbe3b00... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.