CVE-2026-121192
Received Received - Intake

IPv6 Zone ID Spoofing in @fastify/proxy-addr

Vulnerability report for CVE-2026-121192, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: openjs

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
fastify proxy_addr From 3.0.0 (inc) to 5.1.2 (inc)
fastify proxy_addr 5.1.3

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-290 This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.
CWE-697 The product compares two entities in a security-relevant context, but the comparison is incorrect.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the @fastify/proxy-addr package versions 3.0.0 to 5.1.2. It allows IP spoofing by ignoring the IPv6 zone identifier in link-local addresses. When a server trusts a zoned IPv6 link-local address like fe80::1%proxy0, an attacker on another network link with the same address (e.g., fe80::1%edge0) can be falsely trusted. This lets the attacker manipulate request.ip, request.ips, request.host, and request.protocol values, defeating IP allowlists, rate limiting, and audit logging.

Detection Guidance

Check if your system uses @fastify/proxy-addr versions 3.0.0 to 5.1.2 with the command: npm list @fastify/proxy-addr. Inspect trustProxy configuration for zoned IPv6 link-local addresses like fe80::1%proxy0. Verify if the server is multi-homed and if attackers can access other network links.

Impact Analysis

An attacker could spoof their IP address, host, or protocol, bypassing security measures like IP allowlists, rate limiting, and audit logging. This could allow unauthorized access, fake requests, or evasion of security controls if your server is multi-homed and configured to trust a zoned link-local address.

Compliance Impact

This vulnerability could undermine compliance by allowing spoofed requests to bypass IP-based controls, potentially leading to unauthorized data access or tampering. GDPR requires proper logging and access controls, while HIPAA mandates audit logging and secure data handling. Spoofed requests could hide malicious activity, violating these requirements.

Mitigation Strategies

Upgrade @fastify/proxy-addr to version 5.1.3 or later using npm update @fastify/proxy-addr. Avoid using zoned link-local addresses in trustProxy configuration. If zoned addresses are required, ensure the server is not multi-homed or restrict access to the proxy's link only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-121192. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...