{"id":"CVE-2026-121192","aliases":["CVE-2026-121192"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/proxy-addr vulnerable to IP spoofing via ignored IPv6 zone identifier","summary":"@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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@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.","source":"cvelist"}],"published":"2026-11-16T12:55:59.956Z","modified":"2026-11-17T19:17:46.900Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-290","CWE-697"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","fixed":"5.1.3","status":"affected"},{"type":"semver","version":"5.1.3","status":"unaffected"}],"vendor":"@fastify/proxy-addr","product":"@fastify/proxy-addr","source":"cvelist"}],"references":[{"url":"https://github.com/fastify/proxy-addr/security/advisories/GHSA-fmr2-3fr5-78g8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["jackfromeast","mcollina","UlisesGascon","superboy-zjc"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-17T18:07:56.971Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-121192","url":"https://www.cve.org/CVERecord?id=CVE-2026-121192","licence":"CVE Terms of Use","modified":"2026-11-17T18:08:42.033Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-121192","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121192","licence":"Public domain","modified":"2026-11-17T19:17:46.900Z"}],"updatedAt":"2026-11-25T22:59:50.873Z","epss":{"score":0.00384,"percentile":0.34578,"date":"2026-12-01T12:00:22.000Z"}}