CVE-2026-18446

fast-uri vulnerable to host confusion via backslash authority introducer

State
Published
Severity
7.5 High
Published
Jul 31, 2026
Updated
Jul 31, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

Description

fast-uri before 4.1.2, 3.1.5, and 2.4.4 requires a literal double forward slash to recognize a URI authority, so a reference that uses a backslash based introducer in place of it (backslash backslash, forward slash backslash, or backslash forward slash) is parsed with no authority and folds into the path. Node's native WHATWG URL parser instead treats a backslash as interchangeable with a forward slash for special schemes, so the two parsers extract different hosts from the same input. Applications that use fast-uri to enforce host based policy such as allowlists, SSRF filtering, or redirect validation before passing the same URL into Node's URL or fetch consumers can be steered to an unintended host. Upgrade to fast-uri 4.1.2, 3.1.5, or 2.4.4.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nopenjs

Weaknesses

Affected Products

ProductVersions
fast-urifast-uri
  • 4.0.0 to before 4.1.2Affected
  • 4.1.2Not affected
  • 3.0.0 to before 3.1.5Affected
  • 3.1.5Not affected
  • before 2.4.4Affected
  • 2.4.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.