CVE-2026-121192@fastify/proxy-addr vulnerable to IP spoofing via ignored IPv6 zone identifier
@fastify/proxy-addr determines which network hops are trusted proxies and backs Fastify's trustProxy setting, so that forwarded headers can be believed. In versions 3.0.0 through 5.1.2, when trustProxy is configured with a zoned IPv6 link-local address, the trust comparison checks only the address bits and ignores the zone identifier, so a host on another link of a multi-homed server that carries the same link-local address is trusted as well. Such an attacker can spoof the X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Proto headers, making the client IP, host and protocol reported by Fastify attacker-chosen values and defeating IP allowlists, rate limiting and audit logging. Exploitation requires a multi-homed server whose trustProxy is a zoned link-local address and an attacker directly on one of its other links; the default configuration and global, private or loopback trust entries are not affected. The issue is fixed in @fastify/proxy-addr 5.1.3, and users should upgrade to 5.1.3 or later. As a workaround, avoid trusting a zoned link-local address on a multi-homed host and trust a global, private or loopback proxy address instead.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-proxy-addr | Fix pending | UBUNTU-CVE-2026-121192 | |
| Ubuntu 26.04 | node-proxy-addr | Under investigation | UBUNTU-CVE-2026-121192 | |
| Ubuntu 24.04 | node-proxy-addr | Under investigation | UBUNTU-CVE-2026-121192 | |
| Ubuntu 22.04 | node-proxy-addr | Under investigation | UBUNTU-CVE-2026-121192 | |
| Ubuntu 20.04 | node-proxy-addr | Fix pending | UBUNTU-CVE-2026-121192 | |
| Ubuntu 18.04 | node-proxy-addr | Fix pending | UBUNTU-CVE-2026-121192 | |
| Ubuntu 16.04 | node-proxy-addr | Fix pending | UBUNTU-CVE-2026-121192 |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- @fastify/proxy-addr: affected: 3.0.0 to before 5.1.3, 5.1.3 not affected; fixed in
5.1.3
References
- https://github.com/fastify/proxy-addr/security/advisories/GHSA-fmr2-3fr5-78g8
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.