๐Ÿ” CVE Alert

CVE-2026-86818

MEDIUM 4.8

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

CVSS Score
4.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-172 CWE-436
Vendor fast-uri
Product fast-uri
Published Sep 15, 2026
Last Updated Sep 15, 2026
Stay Ahead of the Next One

Get instant alerts for fast-uri fast-uri

Be the first to know when new medium vulnerabilities affecting fast-uri fast-uri are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

fast-uri / fast-uri
4.1.3 < 4.1.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/fastify/fast-uri/security/advisories/GHSA-jvvf-x445-j334 cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

๐Ÿ” manus-use mcollina UlisesGascon ๐Ÿ” manus-pi