CVE-2026-86818 fast-uri vulnerable to mailto header injection via percent-encoded field-name desynchronization
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
9 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-ajv(Debian 13) | = 8.12.0~ds+~2.1.1-5; = 8.17.1~ds+~3.0.1+~3.1.0-1; = 8.17.1~ds+~3.0.1+~3.1.0-2; = 8.17.1~ds+~3.0.1+~3.1.0-3 +12 more | No fix listed | No fix yet |
| redhat/satellite/iop-remediations-rhel9(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| ubuntu/node-ajv(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-ajv(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-ajv(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-ajv(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/node-ajv(Debian 14) | < 8.20.0~ds+~cs7.1.6-1; = 8.12.0~ds+~2.1.1-5; = 8.17.1~ds+~3.0.1+~3.1.0-1; = 8.17.1~ds+~3.0.1+~3.1.0-2 +11 more | 8.20.0~ds+~cs7.1.6-1 | Fixed |
| npm fast-uri | >= 4.1.3, < 4.1.5 | 4.1.5 | Fixed |
| npm fast-uri(npm) | >= 4.1.3, < 4.1.5 | 4.1.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm fast-uri | >= 4.1.3, < 4.1.5 | 4.1.5 |
| debian/node-ajv(Debian:14) | < 8.20.0~ds+~cs7.1.6-1 | 8.20.0~ds+~cs7.1.6-1 |
| debian/node-ajv(Debian:13) | All versions | No fix listed |
| redhat/satellite/iop-remediations-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| npm fast-uri(npm) | >= 4.1.3, < 4.1.5 | 4.1.5 |
| debian/node-ajv(Debian:13) | = 8.12.0~ds+~2.1.1-5 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.17.1~ds+~3.0.1+~3.1.0-1 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.17.1~ds+~3.0.1+~3.1.0-2 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.17.1~ds+~3.0.1+~3.1.0-3 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.17.1~ds+~3.0.1+~3.1.0-4 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.18.0~ds+~cs6.1.1-1 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.18.0~ds+~cs6.1.1-2 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.20.0~ds+~cs6.1.3-1 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.20.0~ds+~cs7.1.2-1 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.20.0~ds+~cs7.1.3-1 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.20.0~ds+~cs7.1.3-2 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.20.0~ds+~cs7.1.3-3 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.20.0~ds+~cs7.1.4-1 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.20.0~ds+~cs7.1.5-1 | No fix listed |
| debian/node-ajv(Debian:13) | = 8.20.0~ds+~cs7.1.6-1 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.12.0~ds+~2.1.1-5 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.17.1~ds+~3.0.1+~3.1.0-1 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.17.1~ds+~3.0.1+~3.1.0-2 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.17.1~ds+~3.0.1+~3.1.0-3 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.17.1~ds+~3.0.1+~3.1.0-4 | No fix listed |
Show 13 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-ajv(Debian:14) | = 8.18.0~ds+~cs6.1.1-1 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.18.0~ds+~cs6.1.1-2 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.20.0~ds+~cs6.1.3-1 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.20.0~ds+~cs7.1.2-1 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.20.0~ds+~cs7.1.3-1 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.20.0~ds+~cs7.1.3-2 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.20.0~ds+~cs7.1.3-3 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.20.0~ds+~cs7.1.4-1 | No fix listed |
| debian/node-ajv(Debian:14) | = 8.20.0~ds+~cs7.1.5-1 | No fix listed |
| ubuntu/node-ajv(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-ajv(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-ajv(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-ajv(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com vendor-advisory
- cna.openjsf.org
- Debian Security Tracker CVE-2026-86818 vendor-advisory
- bugs.debian.org issue-tracking
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2533688 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- Ubuntu CVE tracker vendor-advisory
- github.com product
- ENISA EUVD EUVD-2026-78403 third-party-advisory