PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-6321 fast-uri CVE debrief

A high-severity vulnerability was found in fast-uri, a JavaScript library used for URI parsing. The vulnerability, tracked as CVE-2026-6321, has a CVSS score of 7.5 and is classified as HIGH. The issue arises from the library's handling of percent-encoded path separators and dot segments in its normalize() and equal() functions. This flaw allows attackers to bypass path-based security policies by manipulating URLs, potentially leading to security bypasses in applications that rely on these functions for URL normalization or comparison. The vulnerability affects versions of fast-uri up to and including 3.1.0. Users are advised to update to version 3.1.1 or later to mitigate this vulnerability.

Vendor
fast-uri
Product
Unknown
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-04
Original CVE updated
2026-09-10
Advisory published
2026-05-04
Advisory updated
2026-09-10

Who should care

Developers and administrators using fast-uri in their applications should be aware of this vulnerability. Specifically, anyone who uses fast-uri for URL normalization or comparison to enforce path-based security policies should take immediate action. This includes developers of web applications, API services, and any system that relies on fast-uri for URI processing.

Technical summary

The fast-uri library incorrectly handles percent-encoded path separators and dot segments in its normalize() and equal() functions. This improper handling allows distinct URIs to collapse onto the same normalized path, effectively bypassing path-based security controls. An attacker could craft a URL that appears to be within an allowed path prefix but actually resolves to a different location, potentially leading to unauthorized access or other security issues. The vulnerability is due to the library treating encoded path data as if it were real slashes and parent-directory references.

Defensive priority

High priority should be given to updating fast-uri to version 3.1.1 or later. In the meantime, defenders should review their applications' use of fast-uri and consider implementing additional security measures to detect and prevent potential attacks.

Recommended defensive actions

  • Update fast-uri to version 3.1.1 or later.
  • Review and audit applications that use fast-uri for URL normalization or comparison.
  • Implement additional security monitoring to detect potential attacks.
  • Consider using alternative URI parsing libraries if updating fast-uri is not feasible.
  • Conduct thorough testing of applications after updating fast-uri.

Evidence notes

The CVE-2026-6321 vulnerability was publicly disclosed on May 4, 2026, and has since been modified on June 30, 2026. The vulnerability affects fast-uri versions up to 3.1.0. Multiple sources, including NVD and Red Hat, have documented this vulnerability and provided additional information.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-6321 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-6321 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

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

    ce714d77-add3-4f53-aff5-83d477b104bb - Vendor Advisory

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://github.com/fastify/fast-uri/security/advisories/GHSA-q3j6-qgpj-74h6

    ce714d77-add3-4f53-aff5-83d477b104bb - Vendor Advisory

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:19238

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:20338

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:21338

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:24473

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/errata/RHSA-2026:24766

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

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.