CVE catalog

CVE-2026-76172

fast-uri is a URI parser for Node.js. During parsing it runs a legacy decoding pass over the scheme component and never re-escapes the result, and serialization writes the scheme back out verbatim, un

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.23% · Oct 25, 2026

fast-uri is a URI parser for Node.js. During parsing it runs a legacy decoding pass over the scheme component and never re-escapes the result, and serialization writes the scheme back out verbatim, unlike the host component which is re-escaped. As a result an input whose scheme carries percent-encoded slashes parses as a scheme with no authority, so the parsed host and error are both undefined, yet resolving or normalizing that same input emits a network-path reference whose authority is attacker-chosen and re-parses to that host. An application that allowlists on the parsed host, or treats a reference with no authority as safe to resolve against its base, gets the opposite of what it checked, giving an off-site redirect, server-side request forgery, or address-policy bypass. The legacy decoder also expands non-standard escape forms, widening the issue past upstream filters, and control characters in the scheme can reach the output as raw carriage return and line feed. The affected versions are 2.3.1 up to but not including 2.4.5, 3.0.0 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which reject a scheme that is not valid after decoding. Users should upgrade to a patched version.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-ajvsid8.20.0~ds+~cs7.2.4-1fixed
Debiannode-ajvforky8.20.0~ds+~cs7.2.4-1fixed
Debiannode-ajvtrixie8.12.0~ds+~2.1.1-5vulnerable
Debiannode-ajvbookworm6.12.6-3not affected
Cpefast-uriNot reported4.1.3fixed
Npmfast-uriNot reported4.1.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-ajvsourcesid8.20.0~ds+~cs7.1.4-1not yet assignedNot reported[1145882]
Debiannode-ajvsourceforky8.20.0~ds+~cs7.1.4-1not yet assignedNot reported[1145882]
Debiannode-ajvsourcetrixie(unfixed)not yet assignedNot reported[1145882]
Debiannode-ajvsourcebookwormNot affectedunimportantNot reported[1145882]
Cpefast-uricpeNot reported4.1.3Not reportedNVD-CVE-2026-76172Not reported
Npmfast-urinpmNot reported4.1.3Not reportedGHSA-JQFF-G426-HQXPNot reported

[Debian bug #1145882]

Notes

[trixie] node-ajv: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-ajv]Not affected
    Details (2)
    • 6.12.6-3 · all · bookworm

      Not affected

      nvd · node-ajv · debian · bookworm

    • 6.12.6-3 · all · bookworm

      Not affected

      nvd · node-ajv · debian · bookworm

Observed:

References