Medium severity · published Sep 15, 2026
CVE-2026-86818
fast-uri vulnerable to mailto header injection via percent-encoded field-name desynchronization
4.8
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 17% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
fast-uri · fast-uri
4.1.3 before 4.1.5 · source: vendor
Affected product
FA
fast-uri
fast-uri
More from fast-uri
7.5
CVE-2026-84394
fast-uri vulnerable to host confusion via an unclosed bracket in the URI authority
7.5
CVE-2026-84292
fast-uri vulnerable to authority injection via an unvalidated port in serialize
7.5
CVE-2026-76172
fast-uri vulnerable to host confusion via percent-encoded scheme normalization
7.5
CVE-2026-75975
fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization
7.5
CVE-2026-75899
fast-uri vulnerable to server-side request forgery via repeated hostname percent-decoding