CVE-2026-107318

Source
https://cve.org/CVERecord?id=CVE-2026-107318
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107318.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-107318
Aliases
  • GHSA-j425-jw94-m29r
Published
2026-10-08T20:32:03Z
Modified
2026-10-14T02:46:18Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
@fastify/reply-from vulnerable to improper certificate validation in built-in HTTPS transports
Details

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

Database specific
{
    "cna_assigner":  "openjs",
    "cwe_ids":  [
        "CWE-295"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107318.json"
}
References

Affected packages

Git / github.com/fastify/fastify-reply-from

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-reply-from
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "12.7.0"
        }
    ],
    "source":  "AFFECTED_FIELD"
}

Affected versions

v0.*
v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.4.1
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.5.0
v0.5.2
v0.5.3
v0.5.4
v0.6.0
v0.6.1
v0.6.2
v1.*
v1.0.0
v1.1.0
v10.*
v10.0.0
v11.*
v11.0.0
v11.0.1
v11.0.2
v12.*
v12.0.0
v12.0.1
v12.0.2
v12.1.0
v12.2.0
v12.3.0
v12.3.1
v12.4.0
v12.5.0
v12.6.1
v12.6.2
v12.6.3
v12.6.4
v12.6.5
v2.*
v2.0.0
v2.0.1
v2.2.0
v3.*
v3.0.0
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v4.*
v4.0.0
v4.18.0
v5.*
v5.0.0
v5.0.1
v5.0.2
v5.1.0
v5.2.0
v5.3.0
v6.*
v6.0.0
v6.0.1
v6.1.0
v6.2.0
v6.3.0
v6.4.0
v6.4.1
v6.4.2
v6.4.3
v6.5.0
v6.6.0
v7.*
v7.0.0
v7.0.1
v8.*
v8.0.0
v8.1.0
v8.2.0
v8.2.1
v8.3.0
v8.3.1
v8.4.0
v8.4.1
v8.4.2
v8.4.3
v9.*
v9.0.0
v9.0.1
v9.0.2
v9.1.0
v9.2.0
v9.3.0
v9.4.0
v9.5.0
v9.6.0
v9.7.0
v9.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107318.json"