CVE-2026-107318 Details
Description
@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP or HTTPS server. In versions prior to 12.7.0, all of the built-in HTTPS transports override the secure default and set rejectUnauthorized to false, so the proxy does not verify the TLS certificate of the upstream even when the application points it at an https upstream in the default configuration. An on-path network attacker can therefore impersonate the configured HTTPS upstream, read the credentials and request bodies the proxy forwards, and return forged responses that the application trusts. The issue is fixed in @fastify/reply-from 12.7.0, and users should upgrade to 12.7.0 or later. As a workaround, pass an explicit rejectUnauthorized true on the transport, supply an already configured undici instance, or use the undici global agent.
A vulnerability exists in the @fastify/reply-from plugin, which forwards requests to upstream HTTP or HTTPS servers. In versions prior to 12.7.0, the built-in HTTPS transports disable certificate verification by setting rejectUnauthorized to false. This flaw allows an on-path attacker to impersonate the upstream server, intercept forwarded request data (including credentials and request bodies), and send back fake responses that the application would trust.
Users should upgrade to @fastify/reply-from version 12.7.0 or later. The update restores proper certificate validation by default. For immediate needs, it's possible to manually set rejectUnauthorized to true on the transport being used, or to supply a configured undici instance or use the undici global agent.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 8, 2026CISA-ADP
Assessed Oct 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Bundle |
| https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-j425-jw94-m29r | openjs | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-295 | Improper Certificate Validation | openjs |
Affected Products
| Product | Versions |
|---|---|
| @fastify/reply-from | < 12.7.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 9, 2026 | CVE Modified | CISA-ADP |
| Oct 8, 2026 | New CVE Received | openjs |
Volerion