CVE catalog

CVE-2026-86818

fast-uri is a dependency-free RFC 3986 URI parser for Node.js, used by Fastify and ajv, that added a mailto scheme parser in version 4.1.3. In versions 4.1.3 and 4.1.4, the mailto parser compares each

[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 25, 2026

fast-uri is a dependency-free RFC 3986 URI parser for Node.js, used by Fastify and ajv, that added a mailto scheme parser in version 4.1.3. In versions 4.1.3 and 4.1.4, the mailto parser compares each query field name to the reserved names to, subject, and body while the name is still percent-encoded, and decodes it only when storing it as a generic header, so a percent-encoded spelling of a reserved field name is not recognized as that field at parse time but is re-emitted as the literal field name when the parsed URI is serialized. An application that validates, logs, or displays the recipient list from the first parse and then serializes the URI and sends it can silently gain an attacker-chosen recipient, and the subject and body fields can be smuggled across the same roundtrip. The issue is fixed in fast-uri 4.1.5, and users should upgrade to 4.1.5 or later. As a workaround, do not act on a mailto URI that fast-uri has re-serialized without first decoding and re-validating its recipient, subject, and body fields.

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-JVVF-X445-J334Not 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