Skip to main content

fastify-reply-from EUVDEUVD-2026-95261

| CVE-2026-107318 HIGH
Improper Certificate Validation (CWE-295)
2026-10-08 openjs
7.4
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain on-path position to upstream
  2. Delivery
    Present forged TLS certificate to proxy
  3. Exploit
    Proxy skips verification (rejectUnauthorized false)
  4. Execution
    Intercept forwarded credentials and request bodies
  5. Impact
    Return 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

@fastify/reply-from 0 <12.7.0

Affected Packages

euvd fastify_reply_from fix: 12.7.0

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

Vendor (openjs) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Oct 08, 2026 - 22:03 EUVD
CVE Published
Oct 08, 2026 - 20:32 cve.org
HIGH 7.4

DescriptionCVE.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

Why It Matters

@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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular Fastify proxy plugin, moderate but not universal npm footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy