<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Urllib (&lt;= 2.44.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/urllib--2.44.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 25 Aug 2026 18:50:36 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/urllib--2.44.0/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>urllib Cross-Origin Redirect Credential Leakage</title><link>https://feed.craftedsignal.io/briefs/2026-08-urllib-credential-leak/</link><pubDate>Tue, 25 Aug 2026 18:50:36 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-urllib-credential-leak/</guid><description>The urllib library fails to sanitize sensitive headers during cross-origin redirects, leading to the automatic exposure of Authorization, Cookie, and Proxy-Authorization headers to unauthorized endpoints.</description><content:encoded><![CDATA[<p>The Node.js library <code>urllib</code> contains a vulnerability (CVE-2026-55553) where credential-bearing request headers are preserved verbatim when following HTTP redirects across different origins. While standard HTTP client behavior typically involves stripping sensitive authentication headers when a request is redirected to a different domain, <code>urllib</code> v4.9.0 and earlier versions (including the 2.x branch) fail to implement this security control. This allows an attacker who controls a redirect destination, or who can influence the <code>Location</code> header of an initial request, to capture sensitive data such as <code>Authorization</code> tokens, <code>Cookie</code> session strings, and <code>Proxy-Authorization</code> credentials. The vulnerability is triggered automatically when <code>followRedirect</code> is set to <code>true</code>, requiring no user interaction. This poses a significant risk to applications that handle sensitive API requests or user sessions through the affected library.</p>
<h2 id="impact">Impact</h2>
<p>The impact of this vulnerability is the unauthorized exfiltration of sensitive credentials to attacker-controlled infrastructure. By redirecting a legitimate client request to a malicious origin, an attacker can capture authentication tokens, enabling them to potentially impersonate the client or access protected resources on the original target system. This vulnerability affects any Node.js environment utilizing <code>urllib</code> for external communication. Given the automated nature of redirect following, services that interface with dynamic or third-party content are at the highest risk of accidental credential exposure.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update <code>urllib</code> to a patched version once available that implements header sanitization for cross-origin requests.</li>
<li>Implement a wrapper or interceptor around <code>urllib.request</code> that checks the domain of the <code>Location</code> header during a redirect and strips sensitive headers if the origin changes.</li>
<li>Audit applications using <code>urllib</code> to identify code paths where <code>followRedirect</code> is enabled and potentially sensitive headers (Authorization, Cookie) are passed in the options object.</li>
<li>Review network egress logs for unexpected connections from your backend services to unknown or untrusted external domains.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>credential-theft</category><category>nodejs</category><category>supply-chain</category></item></channel></rss>