{"id":"CVE-2026-55553","published":"2026-08-25T16:18:21Z","modified":"2026-08-25T18:25:40Z","title":"urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage","vendor":"node-modules","product":"urllib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0066,"percentile":0.46441,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/node-modules/urllib/security/advisories/GHSA-hq3h-g68c-hp78","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/node-modules/urllib/pull/812","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-modules/urllib/pull/813","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-modules/urllib/commit/7c86c465883ebd3dea5109c87d7bbe3b00960a16","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-modules/urllib/commit/811a8d56e64e540bf6a19bf8b3737692f05d5c46","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-modules/urllib/releases/tag/v2.44.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-modules/urllib/releases/tag/v4.9.1","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.29},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"node-modules","affectedVersions":[{"vendor":"node-modules","product":"urllib","versions":[">= 3.0.0, < 4.9.1","< 2.44.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-25T18:25:35.484065Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"urllib","vulnerableRanges":[">=3.0.0, <4.9.1","<2.44.1"],"patched":["4.9.1","2.44.1"],"from":["GHSA-hq3h-g68c-hp78"],"provenance":"source"}],"summary":{"text":"The urllib HTTP client for Node.js, in its redirect-following logic within the HttpClient request handling, reuses caller-supplied request options such as headers and auth values when following a redirect to a different origin. An attacker who can cause a request made by urllib to be redirected to a host they control, requiring no authentication or user interaction, can capture credential-bearing headers such as Authorization, Cookie, Proxy-Authorization, and common API key headers that were intended only for the original origin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:16Z"},"euvd":{"id":"EUVD-2026-65613","exploited":false,"provenance":"source"}}