
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
- Severity
- Medium · CVSS 4.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-ajv | sid | 8.20.0~ds+~cs7.2.4-1 | fixed |
| Debian | node-ajv | forky | 8.20.0~ds+~cs7.2.4-1 | fixed |
| Debian | node-ajv | trixie | 8.12.0~ds+~2.1.1-5 | vulnerable |
| Debian | node-ajv | bookworm | 6.12.6-3 | not affected |
| Npm | fast-uri | Not reported | 4.1.5 | fixed |
| Ubuntu | node-ajv | 18.04 | 5.0.0-1 | vulnerable |
| Ubuntu | node-ajv | 20.04 | 6.10.2-1 | vulnerable |
| Ubuntu | node-ajv | 22.04 | 6.12.6-2 | vulnerable |
| Ubuntu | node-ajv | 22.04 | 6.12.6-3 | vulnerable |
| Ubuntu | node-ajv | 24.04 | 6.12.6-3 | vulnerable |
| Ubuntu | node-ajv | 24.04 | 8.12.0~ds+~2.1.1-4 | vulnerable |
| Ubuntu | node-ajv | 26.10 | 8.17.1~ds+~3.0.1+~3.1.0-4build1 | vulnerable |
| Ubuntu | node-ajv | 26.10 | 8.20.0~ds+~cs6.1.3-1 | vulnerable |
| Ubuntu | node-ajv | 26.10 | 8.20.0~ds+~cs7.1.2-1 | vulnerable |
| Ubuntu | node-ajv | 26.10 | 8.20.0~ds+~cs7.1.3-1 | vulnerable |
| Ubuntu | node-ajv | 26.10 | 8.20.0~ds+~cs7.1.3-3 | vulnerable |
| Ubuntu | node-ajv | 26.04 | 8.12.0~ds+~2.1.1-5 | vulnerable |
| Ubuntu | node-ajv | 26.04 | 8.17.1~ds+~3.0.1+~3.1.0-2 | vulnerable |
| Ubuntu | node-ajv | 26.04 | 8.17.1~ds+~3.0.1+~3.1.0-4build1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-ajv | source | sid | 8.20.0~ds+~cs7.1.6-1 | not yet assigned | Not reported | [1148183] |
| Debian | node-ajv | source | forky | 8.20.0~ds+~cs7.1.6-1 | not yet assigned | Not reported | [1148183] |
| Debian | node-ajv | source | trixie | (unfixed) | not yet assigned | Not reported | [1148183] |
| Debian | node-ajv | source | bookworm | Not affected | unimportant | Not reported | [1148183] |
| Npm | fast-uri | npm | Not reported | 4.1.5 | Not reported | GHSA-JVVF-X445-J334 | Not reported |
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 · trixieAffected
nvd · node-ajv · debian · 13
8.12.0~ds+~2.1.1-5· all · trixieAffected
nvd · node-ajv · debian · 13
[Debian 12 (Bookworm)]
- [node-ajv]Not affected
Details (2)
6.12.6-3· all · bookwormNot affected
nvd · node-ajv · debian · bookworm
6.12.6-3· all · bookwormNot affected
nvd · node-ajv · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/advisories/GHSA-jvvf-x445-j334]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-86818]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-86818]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-86818]
- [https://security-tracker.debian.org/tracker/CVE-2026-86818]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86818.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]