cve.bz

CVE-2026-86818 fast-uri fast-uri: Improper Encoding or Decoding of Data

4.8 mediumEPSS 0.3%Fix available

Medium (4.8) in fast-uri fast-uri. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in fast-uri 4.1.5.

On this page
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.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-172 Improper Encoding or Decoding of Data
CWE-436 Interpretation Conflict
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-86818 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-86818?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-86818?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-86818 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
fast-urifrom 4.1.3 before 4.1.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jvvf-x445-j334npmfast-uri>=4.1.3 <4.1.54.1.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13node-ajvno fix listedDEBIAN-CVE-2026-86818
Debian14node-ajv8.20.0~ds+~cs7.1.6-1DEBIAN-CVE-2026-86818
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 morenode-ajvno fix listedUBUNTU-CVE-2026-86818

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate vulnerability in `fast-uri` allows for mailto header injection due to a parsing discrepancy where percent-encoded field names are not correctly recognized as reserved fields until serialization. An attacker could exploit this in applications that parse and then re-serialize `mailto` URIs without re-validation, potentially leading to the smuggling of attacker-controlled recipient, subject, or body fields. This could result in unintended information disclosure or message manipulation within affected Red Hat products.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Cost Management On Premisecostmanagement/costmanagement-ui-rhel10Not affected
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Not affected
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Not affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-pf5-rhel9Not affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-console-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-419-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-pf5-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-pf5-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9Not affected
88 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-86818.

Attack patterns (CAPEC)

  • CAPEC-34 HTTP Response Splitting Likelihood: Medium · Severity: High
  • CAPEC-105 HTTP Request Splitting Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High
  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-52 Embedding NULL Bytes Likelihood: High · Severity: High
  • CAPEC-53 Postfix, Null Terminate, and Backslash Likelihood: High · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-172.

References

Check your stackJSON