Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-path position to upstream
-
DeliveryPresent forged TLS certificate to proxy
-
ExploitProxy skips verification (rejectUnauthorized false)
-
ExecutionIntercept forwarded credentials and request bodies
-
ImpactReturn forged responses application trusts
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitable when the application uses any of @fastify/reply-from's built-in HTTPS transports pointed at an https:// upstream in the DEFAULT configuration (versions <12.7.0), because the transport overrides the secure default and sets rejectUnauthorized=false. The decisive limiting factor is that the attacker must already hold an on-path/MITM position between the proxy and the upstream server (e.g., untrusted network transit, compromised routing, or a shared segment) - captured by AC:H. Exploitation is NOT possible if the deployment applies any of the documented workarounds: passing an explicit rejectUnauthorized:true on the transport, supplying a pre-configured undici instance, or using the undici global agent; no authentication or user interaction is otherwise required (PR:N/UI:N). |
| Impact | This is a legitimate but context-dependent High-severity issue (CVSS 7.4, AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N). The signals are internally consistent: the input shows no public exploit identified, no CISA KEV listing, and no EPSS score was provided, so there is no evidence of widespread opportunistic exploitation. The key tension is between the PR:N/UI:N metrics (no authentication or user interaction) and the AC:H metric - AC:H is correct because the attacker must first obtain an on-path (MITM) position between the proxy and the upstream, which is a real barrier that materially lowers practical risk. However, the aggravating factor is that the insecure behavior (rejectUnauthorized=false) is the DEFAULT for all built-in HTTPS transports, so any application using the plugin's defaults against an HTTPS upstream is vulnerable with no misconfiguration required. SSVC-style read: exploitation is 'none' observed, the technical impact is total for confidentiality/integrity of the forwarded traffic, but it is not automatable at scale because each target requires attacker positioning on the proxy-to-upstream path. Net: a genuine fix-soon issue for affected deployments, not a drop-everything internet-wide emergency, with the priority driven by exposure of the network path between proxy and upstream (e.g., untrusted transit, cloud east-west traffic, or shared segments). |
| Exploit ScenarioDerived | No public exploit is identified at the time of analysis. An attacker who can position themselves on the network path between a Fastify application using @fastify/reply-from (<12.7.0) and its configured HTTPS upstream presents a forged or attacker-controlled TLS certificate; because the built-in transport sets rejectUnauthorized=false, the proxy accepts it without validation. The attacker then reads forwarded credentials and request bodies and returns forged responses that the application trusts as legitimate upstream data. The AC:H metric reflects that this requires an on-path position rather than a simple remote request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
TLS certificate verification bypass in @fastify/reply-from versions prior to 12.7.0 allows an on-path attacker to impersonate the configured HTTPS upstream, intercept forwarded credentials and request bodies, and return forged responses. The plugin's built-in HTTPS transports override the secure default by setting rejectUnauthorized to false, so even in the default configuration with an https:// upstream, the proxy fails to validate the upstream's certificate. No public exploit identified at time of analysis. Upgrade to 12.7.0 or apply documented workarounds.
RemediationAI
Upgrade to @fastify/reply-from 12.7.0 or later. If immediate upgrade is not possible, apply one of the documented workarounds: pass an explicit rejectUnauthorized:true option on the transport, supply an already configured undici instance, or use the undici global agent. These workarounds restore TLS certificate validation but require code changes and may affect other parts of the application's HTTP client configuration. Note that the default configuration is insecure, so any deployment using an https:// upstream without these workarounds remains vulnerable until patched. For more information, see the vendor advisory at https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-j425-jw94-m29r.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP or HTTPS server, typically using undici as the HTTP client. The vulnerability is a case of improper certificate validation (CWE-295). In versions before 12.7.0, the built-in HTTPS transports override the secure default and set rejectUnauthorized to false, meaning the proxy does not verify the TLS certificate presented by the upstream server. This breaks the TLS trust model, allowing an attacker who can intercept network traffic between the proxy and the upstream (e.g., on a shared or untrusted network segment) to present a forged certificate and impersonate the upstream. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N reflects that exploitation requires a man-in-the-middle position (AC:H) but no authentication or user interaction, leading to high confidentiality and integrity impact. The CPE cpe:2.3:a:@fastify/reply-from:@fastify/reply-from:* indicates all versions of the package are potentially affected, though the fix is in 12.7.0.
Know when Fastify Reply From gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Network-reachable but requires an on-path MITM position (AC:H) and no auth (PR:N); full read and forgery of forwarded traffic gives C:H/I:H, with no availability impact (A:N).
Primary rating from Vendor (openjs).
CVSS VectorVendor: openjs
Lifecycle Timeline
2DescriptionCVE.org
@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.
Technical POC Analysis
Evidence caveat: the supplied evidence is the GitHub advisory only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
@fastify/reply-from, a widely used Node.js/Fastify plugin for proxying requests to upstream services, fails to validate TLS certificates in versions prior to 12.7.0, allowing an attacker positioned on the network path to impersonate an HTTPS upstream. Any Fastify-based service that forwards credentials or request bodies through this plugin can have that traffic intercepted or altered without detection, exposing customer data, API keys, and internal service trust relationships. Leadership should treat this as a supply-chain-grade risk affecting multiple applications built on a shared dependency rather than a single system.
Apply vendor patch (upgrade to @fastify/reply-from 12.7.0); vendor-documented workarounds are the interim option where immediate upgrade is not possible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Fastify Reply From
View allCross-upstream data exposure in the @fastify/reply-from proxy plugin (versions 8.3.1 through 12.6.3) lets remote unauthe
fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. Ra
HTTP header smuggling in @fastify/reply-from ≤12.6.1 and @fastify/http-proxy ≤11.4.3 allows remote unauthenticated attac
EUVD-2026-95261
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB