CVE-2026-121192: @fastify/proxy-addr - Trust Bypass
- Cve: CVE-2026-121192
- Name: @fastify/proxy-addr - Trust Bypass
- Description: @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.
- Impact: Attackers can spoof client IP, host, and protocol, defeating IP allowlists, rate limiting, and audit logging.
- Remediation: Upgrade to @fastify/proxy-addr 5.1.3 or later; alternatively, avoid trusting zoned link-local addresses on multi-homed hosts.
- Vulnerability type: misconfiguration
- Vulnerability impact: data_tampering, information_disclosure
- Requirements: Multi-homed server with trustProxy set to a zoned link-local address and attacker directly on another link
- Labels source: securitycontext
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00384
- Epss percentile: 0.32928
- Assignee: ce714d77-add3-4f53-aff5-83d477b104bb
- Published at: 2026-11-16T13:17:20Z
- Age in days: 8
- Modified at: 2026-11-17T19:17:46Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-121192
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-290 | Authentication Bypass by Spoofing |
References
| Url | Source | Tags |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | nvd | |
| https://github.com/fastify/proxy-addr/security/advisories/GHSA-fmr2-3fr5-78g8 | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| fastify/proxy-addr | security_advisory | yes | /v1/repositories/fastify/proxy-addr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts