CVE-2026-107318 @fastify/reply-from vulnerable to improper certificate validation in built-in HTTPS transports

High 7.4 Published Updated

An on-path attacker can impersonate HTTPS upstreams and intercept or forge traffic because the plugin disables TLS certificate validation by default.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-107318?

CVE-2026-107318 is a high-severity vulnerability in @fastify/reply-from, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-295

Which versions are affected by CVE-2026-107318?

How do I fix CVE-2026-107318?

No fix has been published for CVE-2026-107318 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-107318 being exploited?

There is no known exploitation of CVE-2026-107318 in the wild and no public exploit code.

Sources

Also known as GHSA-j425-jw94-m29r.

Is CVE-2026-107318 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free