Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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

Announced Group revision 1
Original source ↗

CVE-2026-107318

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-107318

@fastify/reply-from

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "@fastify/reply-from",
    "product": "@fastify/reply-from",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "12.7.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "12.7.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:npm/@fastify/reply-from",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-107318

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#16218 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement