CVE-2026-92395

Source
https://cve.org/CVERecord?id=CVE-2026-92395
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92395.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-92395
Aliases
  • GHSA-8cmm-mhw6-v7xq
Published
2026-09-16T14:35:05Z
Modified
2026-09-18T03:48:40Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
@fastify/proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet
Details

@fastify/proxy-addr is a Fastify plugin that determines a request's client address behind trusted reverse proxies, and it backs Fastify request.ip and request.ips. In versions 3.0.0 through 5.1.0, a trust subnet written in IPv4-mapped IPv6 notation with an IPv4-sized prefix, such as ::ffff:10.0.0.0/8 instead of the correct ::ffff:10.0.0.0/104, is accepted without error but trusts every IPv4 address on the internet rather than the block it names. Because the socket peer then becomes trusted at hop 0, any unauthenticated client can supply an arbitrary X-Forwarded-For header and control the address the application reads, which defeats IP-based access control, rate limiting, geolocation, and audit logging. The plugin inherited this defect from the upstream proxy-addr module (CVE-2026-90711). The issue is fixed in @fastify/proxy-addr 5.1.1, and users should upgrade to 5.1.1 or later. As a workaround, ensure any IPv4-mapped IPv6 trust subnet uses a prefix length of at least 97, or express the range in plain IPv4 notation.

Database specific
{
    "cna_assigner": "openjs",
    "cwe_ids": [
        "CWE-290",
        "CWE-348",
        "CWE-697"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92395.json"
}
References

Affected packages

Git / github.com/fastify/proxy-addr

Affected ranges

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

Affected versions

v4.*
v4.0.0
v4.1.0
v5.*
v5.0.0
v5.1.0

Database specific

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