CVE-2026-107318
published high CVSS 3.1 · 7.4@fastify/reply-from vulnerable to improper certificate validation in built-in HTTPS transports
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/reply-from | — | @fastify/reply-from0 to < 12.7.0 (affected · semver) · 12.7.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/reply-from | @fastify/reply-from | 0 to < 12.7.0 (affected · semver)12.7.0 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
2Provider assertions
2openjs · cna
@fastify/reply-from vulnerable to improper certificate validation in built-in HTTPS transports
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b0b3a9441d0fde3da7bd2088d048a7281879399708dcf63106f3e838cfbaf49
- Ingested
- 09 Oct 2026, 16:25:58 UTC
- Source record
- Official CVE record