Skip to content

@fastify/proxy-addr

@fastify/proxy-addr vulnerable to IP spoofing via ignored IPv6 zone identifier

CVE-2026-121192Published 16 Nov 2026, 12:55 UTC

Real-world risk

1.2/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from openjs)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
@fastify/proxy-addrNiche>= 3.0.0, < 5.1.35.1.3

What to do

Update to a fixed version: 5.1.3.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionAdjacentSame Wi-Fi, Bluetooth range or network segmentFrom the CVSS vector0.40
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.4% chance of exploitation in 30 days (percentile 35), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.180
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.18 × threat 0.851.224
  4. Rounded to one decimal between 0.1 and 101.2

How the score works

Exploitation and evidence timeline

  1. 16 Nov 2026 Published
  2. 3 Dec 2026 Risk 1.2 (cvss fallback)

Weakness

CWE-290, CWE-697

References

Get alerts for @fastify/proxy-addr

Free email or text alerts when a vulnerability in @fastify/proxy-addr reaches risk 8 or higher. Nothing else.

CVE-2026-121192: @fastify/proxy-addr vulnerable to IP spoofing via ignored IPv6 zone identifier · CVE Feed