Proxy Header Spoofing Vulnerability in Fastify by Fastify Team
CVE-2026-121192
What is CVE-2026-121192?
A vulnerability exists in the @fastify/proxy-addr package affecting versions 3.0.0 through 5.1.2, allowing an attacker to exploit trust relationships when configured with a zoned IPv6 link-local address. The issue arises as the library does not correctly verify the zone identifier, resulting in improper trust being granted to the same link-local address across multi-homed servers. This may enable adversaries to spoof forwarded headers such as X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Proto, potentially bypassing IP allowlists, disrupting rate limiting mechanisms, and compromising audit logging functionalities. Users are advised to update to version 5.1.3 or later, or to avoid trusting zoned link-local addresses in configurations.
Affected Version(s)
@fastify/proxy-addr 3.0.0 < 5.1.3
@fastify/proxy-addr 5.1.3
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
