Intel

AIKIDO-2026-878106

fast-uri is vulnerable to Server-Side Request Forgery (SSRF)

CVE-2026-16221Published Jul 19, 2026
July 19, 2026

84

CVE Score

High

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

URI authority parsing does not treat a literal backslash as a delimiter, while Node's WHATWG URL normalizes \ to / for special schemes. The same input can therefore yield different hosts in fast-uri versus fetch()/undici, so host allowlists, SSRF filters, or redirect checks based on fast-uri can be bypassed. The fix rejects URIs whose authority contains a literal backslash.

How do I fix this?

Upgrade the fast-uri library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use fast-uri for host-based policy checks before passing the same URL to Node's URL or fetch() consumers.

Package

Versions

2.3.1 - 2.4.2

Fixed in 2.4.3

3.0.0 - 3.1.3

Fixed in 3.1.4

4.0.0 - 4.1.0

Fixed in 4.1.1

Background info

fast-uri is vulnerable to Server-Side Request Forgery (SSRF) in versions 2.3.1 - 2.4.2, 3.0.0 - 3.1.3 and 4.0.0 - 4.1.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea