PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-16221 fast-uri CVE debrief

CVE-2026-16221 is a vulnerability in fast-uri versions 2.3.1 through 4.1.0 that can lead to incorrect host parsing, potentially allowing attackers to bypass security controls such as allowlists and denylists. This issue arises because fast-uri does not treat the backslash character (U+005C) as an authority delimiter, unlike Node's native WHATWG URL parser. As a result, applications using fast-uri for host-based policy enforcement before passing URLs to Node's URL or fetch consumers may be steered to unintended destinations, including cloud metadata endpoints or internal hosts.

Vendor
fast-uri
Product
Unknown
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-19
Original CVE updated
2026-08-05
Advisory published
2026-07-19
Advisory updated
2026-08-05

Who should care

Developers and security teams using fast-uri versions 2.3.1 through 4.1.0 in applications that enforce host-based security policies, such as allowlists, denylists, loopback or SSRF filtering, redirect validation, or outbound proxy routing, should be aware of this vulnerability. This includes teams working with Node.js applications that utilize fast-uri for URL parsing before passing them to Node's URL or fetch consumers.

Technical summary

The fast-uri library, versions 2.3.1 through 4.1.0, does not correctly handle the backslash character (U+005C) in URLs, treating it differently than Node's WHATWG URL parser. This discrepancy can lead to security bypasses in applications that rely on fast-uri for host-based policy enforcement. For instance, an attacker could craft a URL that is parsed differently by fast-uri and Node's URL parser, potentially allowing access to internal hosts or cloud metadata endpoints that would otherwise be restricted. The vulnerability is particularly concerning for applications that use fast-uri to validate URLs before passing them to Node's URL or fetch consumers.

Defensive priority

High

Recommended defensive actions

  • Upgrade to fast-uri version 4.1.1, 3.1.4, or 2.4.3 to address the vulnerability.
  • Review and update host-based security policies and allowlists/denylists to ensure they are not solely reliant on fast-uri for validation.
  • Implement additional security measures, such as URL normalization, before passing URLs to Node's URL or fetch consumers.
  • Monitor for and respond to potential security incidents related to this vulnerability.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.

Evidence notes

The CVE record was published on 2026-07-19T15:16:49.027Z and has not been modified since then. The NVD entry is currently 7.5 HIGH. References include OpenJSF security advisories and a GitHub advisory.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-16221 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-16221

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-16221 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-16221

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://cna.openjsf.org/security-advisories.html

    ce714d77-add3-4f53-aff5-83d477b104bb

  • Source reference

    Unverified legacy reference

    URL: https://github.com/fastify/fast-uri/security/advisories/GHSA-v2hh-gcrm-f6hx

    ce714d77-add3-4f53-aff5-83d477b104bb

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.