CVEfocus › CVE database › CVE-2026-86818

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

CVSS 4.8 MediumEPSS 0.3% (higher than 10% of CVEs)Published 2026-09-15Updated 2026-09-15Assigner: openjs

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-172CWE-436

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
3Under investigation
64Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-ajvFix pendingUBUNTU-CVE-2026-86818
Ubuntu 26.04node-ajvUnder investigationUBUNTU-CVE-2026-86818
Ubuntu 24.04node-ajvUnder investigationUBUNTU-CVE-2026-86818
Ubuntu 22.04node-ajvUnder investigationUBUNTU-CVE-2026-86818
Ubuntu 20.04node-ajvFix pendingUBUNTU-CVE-2026-86818
Ubuntu 18.04node-ajvFix pendingUBUNTU-CVE-2026-86818
Debian 14node-ajvFixed8.20.0~ds+~cs7.1.6-1DEBIAN-CVE-2026-86818
Debian 13node-ajvFix pendingDEBIAN-CVE-2026-86818
Red Hat Enterprise Linux 10aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 10aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 10aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 10cockpit-image-builderNot affected
Red Hat Enterprise Linux 10dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 10dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 10dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 10dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 10dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 10dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 10dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 10dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 10dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 10dotnet8.0Not affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10linux-sgxNot affected
Red Hat Enterprise Linux 10sgx-commonNot affected
Red Hat Enterprise Linux 10sgx-libsNot affected
Red Hat Enterprise Linux 10sgx-mpaNot affected
Red Hat Enterprise Linux 10sgx-pccsNot affected
Red Hat Enterprise Linux 10sgx-pccs-adminNot affected
Red Hat Enterprise Linux 10sgx-pckid-toolNot affected
Red Hat Enterprise Linux 10tdx-qgsNot affected
Red Hat Enterprise Linux 9aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 9aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 9dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 9dotnet-hostNot affected
Red Hat Enterprise Linux 9dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 9dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 9dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 9dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 9dotnet8.0Not affected
Red Hat Enterprise Linux 9linux-sgxNot affected
Red Hat Enterprise Linux 9netstandard-targeting-pack-2.1Not affected
Red Hat Enterprise Linux 9sgx-commonNot affected
Red Hat Enterprise Linux 9sgx-libsNot affected
Red Hat Enterprise Linux 9sgx-mpaNot affected
Red Hat Enterprise Linux 9sgx-pccsNot affected
Red Hat Enterprise Linux 9sgx-pccs-adminNot affected
Red Hat Enterprise Linux 9sgx-pckid-toolNot affected
Red Hat Enterprise Linux 9tdx-qgsNot affected
Red Hat Enterprise Linux 8aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 8aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnetNot affected
Red Hat Enterprise Linux 8dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnet-hostNot affected
Red Hat Enterprise Linux 8dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 8dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 8dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 8dotnet8.0Not affected
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Not affected
npm libraryfast-uriFixed4.1.5GHSA-jvvf-x445-j334

What the vendor says

As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.