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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 12.7.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-08 · Modified: 2026-10-09
- Record: https://cvemate.com/vulnerability/CVE-2026-107318 · JSON: https://cvemate.com/vulnerability/CVE-2026-107318/json

## Description

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

## Signals

- CVSS: 7.4 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.145%, percentile 3.962%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- @fastify/reply-from @fastify/reply-from: \< 12.7.0

## References

- <https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-j425-jw94-m29r>
- <https://cna.openjsf.org/security-advisories.html>

---

Data as of 2026-12-05T09:35:15.449Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
