CVE catalog

CVE-2026-86472

fast-uri is a dependency-free RFC 3986 URI parser for Node.js, used by Fastify and ajv. In versions before 2.4.7, from 3.0.0 through 3.1.7, and from 4.0.0 through 4.1.4, fast-uri folds the host to low

[CVE catalog]

Severity
Medium · CVSS 4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.25% · Oct 27, 2026

fast-uri is a dependency-free RFC 3986 URI parser for Node.js, used by Fastify and ajv. In versions before 2.4.7, from 3.0.0 through 3.1.7, and from 4.0.0 through 4.1.4, fast-uri folds the host to lowercase before it percent-decodes the host, so a percent-encoded uppercase octet such as %41 decodes to a literal A that is never folded. For a scheme-relative reference such as //host there is no scheme, so the host canonicalization that would normally repair this does not run, and parse, normalize, and equal then disagree on the same host. An application that makes a case-sensitive host decision on fast-uri output, for example a host allowlist or denylist that compares the parsed host or uses equal, can be steered past the check with a percent-encoded uppercase octet, and because hostnames are case-insensitive in DNS and HTTP the evading spelling still reaches the host the check meant to gate. The issue is fixed in fast-uri 2.4.7, 3.1.8, and 4.1.5, and users should upgrade to one of those versions or later. As a workaround, compare hosts case-insensitively by lowercasing the parsed host before any allowlist or denylist decision.

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
Npmfast-uriNot reported4.1.5fixed
Ubuntunode-ajv18.045.0.0-1vulnerable
Ubuntunode-ajv20.046.10.2-1vulnerable
Ubuntunode-ajv22.046.12.6-2vulnerable
Ubuntunode-ajv22.046.12.6-3vulnerable
Ubuntunode-ajv24.046.12.6-3vulnerable
Ubuntunode-ajv24.048.12.0~ds+~2.1.1-4vulnerable
Ubuntunode-ajv26.108.17.1~ds+~3.0.1+~3.1.0-4build1vulnerable
Ubuntunode-ajv26.108.20.0~ds+~cs6.1.3-1vulnerable
Ubuntunode-ajv26.108.20.0~ds+~cs7.1.2-1vulnerable
Ubuntunode-ajv26.108.20.0~ds+~cs7.1.3-1vulnerable
Ubuntunode-ajv26.108.20.0~ds+~cs7.1.3-3vulnerable
Ubuntunode-ajv26.048.12.0~ds+~2.1.1-5vulnerable
Ubuntunode-ajv26.048.17.1~ds+~3.0.1+~3.1.0-2vulnerable
Ubuntunode-ajv26.048.17.1~ds+~3.0.1+~3.1.0-4build1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-ajvsourcesid8.20.0~ds+~cs7.1.6-1not yet assignedNot reported[1148183]
Debiannode-ajvsourceforky8.20.0~ds+~cs7.1.6-1not yet assignedNot reported[1148183]
Debiannode-ajvsourcetrixie(unfixed)not yet assignedNot reported[1148183]
Debiannode-ajvsourcebookwormNot affectedunimportantNot reported[1148183]
Npmfast-urinpmNot reported4.1.5Not reportedGHSA-HRR3-GC8F-F4QJNot reported

[Debian bug #1148183]

Notes

[trixie] node-ajv: Minor issue

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [node-ajv]Affected
    Details (2)
    • 8.12.0~ds+~2.1.1-5 · all · trixie

      Affected

      nvd · node-ajv · debian · 13

    • 8.12.0~ds+~2.1.1-5 · all · trixie

      Affected

      nvd · node-ajv · debian · 13

[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