# CVE-2026-92395: @fastify/proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet

- Severity: Critical 9.1 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-09-16T14:35:05.121Z
- Modified: 2026-09-17T19:17:07.053Z
- Weaknesses: CWE-290, CWE-348, CWE-697
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: openjs

## Description

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

(As written by CVE List.)

## Affected

- @fastify/proxy-addr @fastify/proxy-addr: from 3.0.0 before 5.1.1 (not affected: 5.1.1)

## References

- <https://github.com/fastify/proxy-addr/security/advisories/GHSA-8cmm-mhw6-v7xq>
- <https://cna.openjsf.org/security-advisories.html>

## Sources

- CVE List: [CVE-2026-92395](https://www.cve.org/CVERecord?id=CVE-2026-92395), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-92395](https://nvd.nist.gov/vuln/detail/CVE-2026-92395), Public domain, modified 2026-09-17

---

Page: https://cve.day/CVE-2026-92395 · Whole record: https://cve.day/CVE-2026-92395.json · Rebuilt by cve.day 2026-11-25T22:59:39.067Z
