ADVISORIES

Vulnerability

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

5 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • CGA-vf3f-5vvv-8c7p
    CVE-2026-86818 Chainguard Updated 5 November 2026
  • DEBIAN-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 query field name…

    CVE-2026-86818 Debian Updated 1 October 2026
  • GHSA-jvvf-x445-j334

    fast-uri vulnerable to mailto header injection via percent-encoded field-name desynchronization

    Moderate CVE-2026-86818 npm Updated 30 September 2026
  • SUSEVEX-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 query field name…

    Moderate CVE-2026-86818 SUSEopenSUSE Updated 14 November 2026
  • UBUNTU-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 query field name…

    CVE-2026-86818 Ubuntu Updated 28 October 2026

References