# CVE-2026-86818: fast-uri vulnerable to mailto header injection via percent-encoded field-name desynchronization

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-15 · Modified: 2026-09-15
- Aliases: DEBIAN-CVE-2026-86818, GHSA-jvvf-x445-j334, CGA-vf3f-5vvv-8c7p, UBUNTU-CVE-2026-86818
- Record: https://cvemate.com/vulnerability/CVE-2026-86818 · JSON: https://cvemate.com/vulnerability/CVE-2026-86818/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.17%, percentile 6.614%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard tensorflow-gpu-jupyter (Chainguard): \< 2.21.0-r11
- debian node-ajv (Debian): All versions (No fix recorded) \| \< 8.20.0~ds+~cs7.1.6-1
- ubuntu node-ajv (Ubuntu): All versions (No fix recorded)
- fast-uri fast-uri: ≥ 4.1.3, \< 4.1.5
- Npm fast-uri (Npm): ≥ 4.1.3, \< 4.1.5

## References

- <https://github.com/fastify/fast-uri/security/advisories/GHSA-jvvf-x445-j334>
- <https://cna.openjsf.org/security-advisories.html>
- <https://security-tracker.debian.org/tracker/CVE-2026-86818>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-86818>
- <https://github.com/fastify/fast-uri/commit/f40a88f33e684a46faec3f5b820bcbb1e85add64>
- <https://github.com/fastify/fast-uri>
- <https://github.com/fastify/fast-uri/releases/tag/v4.1.5>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86818.json>
- <https://ubuntu.com/security/CVE-2026-86818>
- <https://www.cve.org/CVERecord?id=CVE-2026-86818>

---

Data as of 2026-12-05T06:21:50.118Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
