Bug 2568147 (CVE-2026-120415)

Summary: CVE-2026-120415 undici: undici: Information disclosure via unstripped headers during cross-origin redirects
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, abarbaro, akhatavk, alizardo, aos-team-art-private, asdas, cdrage, cmah, csuconic, dbruscin, dhanak, dkeler, dpaolell, drosa, dsimansk, dymurray, eaguilar, ebaron, eborisov, gbenhaim, gtanzill, gtully, ibolton, jbuscemi, jchui, jdelft, jhe, jlanda, jmatsuok, jmatthew, jmontleo, jsherman, jtolenti, jupierce, kaycoth, kingland, kshier, ktsao, kvanderr, lball, lchilton, lgarciaa, mbiarnes, mnovotny, mstipich, nboldt, ngough, niyer, oaljalju, pgaikwad, pjindal, ppalepu, ppostler, prdhamdh, psrna, rbobbitt, rexwhite, rgemmell, rgodfrey, rhel-process-autobot, rjohnson, rushinde, sausingh, sdawley, sfeifer, sghai, sidsharm, simaishi, slucidi, sseago, stcannon, sthirugn, suppawar, tbish, thason, tlavocat, twaugh, veshanka, vlaad, watson-tool-maintainers, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in undici. This vulnerability leads to information disclosure when an application follows a cross-origin redirect to an external domain. When request headers are supplied as an array of name-value pairs, the redirect interceptor fails to properly recognize and strip sensitive authentication headers, such as session cookies or authorization tokens. Consequently, an untrusted redirect destination can receive and intercept these sensitive credentials.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2579576, 2579577, 2579578, 2579579, 2579580    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-06 14:31:43 UTC
undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, the redirect interceptor strips sensitive headers such as Authorization, Cookie, Proxy-Authorization, and Host when a request is redirected to a different origin, but when request headers are supplied as an array of name and value tuples (a valid documented input, for example from Object.entries), the redirect handler misreads them as a flat list so the header names never match and the sensitive headers are not removed. If a header-normalizing interceptor such as cache or deduplicate is composed outside the redirect interceptor, it then serializes the retained headers onto the cross-origin request, disclosing the caller's origin-bound credentials to the unrelated redirect destination. This is a representation-dependent bypass of the cross-origin header stripping added in CVE-2024-30260. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later. As a workaround, supply request headers as a plain object or a flat name and value array rather than an array of tuples, or compose the redirect interceptor outside the normalizing interceptor.