High severity · published Oct 8, 2026
CVE-2026-107318
@fastify/reply-from vulnerable to improper certificate validation in built-in HTTPS transports
7.4
CVSS
0.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 4% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
@fastify/reply-from · @fastify/reply-from
before 12.7.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107318
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107318
github.com
https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-j425-jw94-m29r
cna.openjsf.org
https://cna.openjsf.org/security-advisories.html
More from @fastify/reply-from
10.0
CVE-2026-16158
@fastify/reply-from vulnerable to cross-upstream request routing via URL cache key collision
8.6
CVE-2026-33805
@fastify/reply-from vulnerable to connection header abuse enabling stripping of proxy-added headers
