CVE-2026-6322

HIGH

fast-uri vulnerable to host confusion via percent-encoded authority delimiters

Title source: cna
STIX 2.1

Description

fast-uri normalize() decoded percent-encoded authority delimiters inside the host component and then re-emitted them as raw delimiters during serialization. A host that combined an allowed domain, an encoded at-sign, and a different domain was re-emitted with the at-sign as a raw userinfo separator, changing the URI's authority to the second domain. Applications that normalize untrusted URLs before host allowlist checks, redirect validation, or outbound request routing can be steered to a different authority than the input appeared to specify. Versions <= 3.1.1 are affected. Update to 3.1.2 or later.

Scores

CVSS v3 7.5
EPSS 0.0001
EPSS Percentile 1.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-436
Status published
Products (4)
fast-uri/fast-uri < 3.1.2
fast-uri/fast-uri 3.1.2
npm/fast-uri 0 - 3.1.2npm
openjsf/fast-uri < 3.1.2
Published May 05, 2026
Tracked Since May 05, 2026