Bug 2521798 (CVE-2026-76172)

Summary: CVE-2026-76172 fast-uri: fast-uri: URI parsing flaw enables server-side request forgery and redirects
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aazores, abarbaro, abrianik, akhatavk, alizardo, anpicker, anthomas, aos-team-art-private, aruklets, asdas, ataylor, bbrownin, bcaton, bparees, brasmith, bsmejkal, cdrage, cmah, cmyers, cochase, csuconic, dbruscin, dhanak, dnakabaa, doconnor, dpaolell, dranck, drosa, dschmidt, dsimansk, dymurray, eaguilar, ebaron, ehelms, ehugonne, ewittman, ggainey, ggrzybek, gparvin, gtully, hasun, ibolton, jachapma, janstey, jbalunas, jchui, jdelft, jfula, jhe, jkrystof, jlanda, jmatsuok, jmatthew, jmontleo, jowilson, jpasqual, jraez, jsherman, jtolenti, jupierce, juwatts, jwong, kaycoth, kingland, kshier, ktsao, kvanderr, lblicha, lchilton, lcouzens, lgarciaa, lryznaro, mbiarnes, mdellweg, mhulan, mnovotny, mreynolds, msauton, mstipich, nboldt, nipatil, nmoumoul, nyancey, oaljalju, ogajduse, omaciel, ometelka, osousa, pantinor, parichar, pcreech, pgaikwad, pjindal, ppalepu, ppostler, prdhamdh, progier, psrna, ptisnovs, rbobbitt, rchan, rexwhite, rgemmell, rgodfrey, rhaigner, rhel-process-autobot, rjohnson, rkubis, rushinde, sausingh, sdawley, sfeifer, sghai, shudeshp, sidsharm, simaishi, slucidi, smallamp, snegrini, spichugi, sseago, stcannon, sthirugn, suppawar, syedriko, tasato, tbish, tbordaz, teagle, tguha, tlavocat, tmalecek, tmielke, tsze, tzimanyi, vashirov, vlaad, watson-tool-maintainers, xdharmai, yguenane, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in fast-uri, a software component used for parsing Uniform Resource Identifiers (URIs) in Node.js applications. This vulnerability arises from an issue in how fast-uri processes the scheme part of a URI, specifically when it contains special characters that are percent-encoded. An attacker can exploit this by crafting a malicious URI, causing the parser to misinterpret the host, which can lead to serious security risks. These risks include unauthorized redirection to external websites, server-side request forgery (SSRF) where the application makes unintended requests to internal or external resources, and bypassing security policies.
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:

Description OSIDB Bzimport 2026-08-24 10:40:41 UTC
fast-uri is a URI parser for Node.js. During parsing it runs a legacy decoding pass over the scheme component and never re-escapes the result, and serialization writes the scheme back out verbatim, unlike the host component which is re-escaped. As a result an input whose scheme carries percent-encoded slashes parses as a scheme with no authority, so the parsed host and error are both undefined, yet resolving or normalizing that same input emits a network-path reference whose authority is attacker-chosen and re-parses to that host. An application that allowlists on the parsed host, or treats a reference with no authority as safe to resolve against its base, gets the opposite of what it checked, giving an off-site redirect, server-side request forgery, or address-policy bypass. The legacy decoder also expands non-standard escape forms, widening the issue past upstream filters, and control characters in the scheme can reach the output as raw carriage return and line feed. The affected versions are 2.3.1 up to but not including 2.4.5, 3.0.0 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which reject a scheme that is not valid after decoding. Users should upgrade to a patched version.

Comment 2 Jon Orris 2026-09-24 11:01:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:71543 https://access.redhat.com/errata/RHSA-2026:71543