{"id":"CVE-2026-121192","kind":"vulnerability","aliases":["CVE-2026-121192"],"related":[],"title":"@fastify/proxy-addr: zoned IPv6 link-local trust lets other links spoof forwarded headers","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.","summary":"@fastify/proxy-addr ignores the zone identifier when checking a zoned IPv6 link-local trustProxy address, so a host on another link with the same address is trusted. That lets an attacker spoof X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Proto, defeating IP allowlists, rate limiting and audit logs.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["fastify","node","package","self-hosted"],"not_affected_if":["default-config","global-or-loopback-trustproxy","single-homed-host"],"how_to_check":"- Check the installed version: `npm ls @fastify/proxy-addr` (versions 3.0.0 through 5.1.2 are affected).\n- Check whether `trustProxy` in the Fastify configuration is set to a zoned IPv6 link-local address (one containing a `%` zone such as `fe80::1%eth1`).\n- Check whether the server has more than one network interface on different links.","fix":"- `@fastify/proxy-addr` `5.1.3` or later","status":"open","published_at":"2026-11-16T13:17:20+00:00","first_seen_at":"2026-11-16T13:37:56+00:00","triaged_at":"2026-11-16T13:38:46+00:00","updated_at":"2026-11-16T13:38:46+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T13:38:46Z","model":"claude-haiku-5-5","output":{"fix":"- `@fastify/proxy-addr` `5.1.3` or later","reach":"network","title":"@fastify/proxy-addr: zoned IPv6 link-local trust lets other links spoof forwarded headers","impact":"medium","summary":"@fastify/proxy-addr ignores the zone identifier when checking a zoned IPv6 link-local trustProxy address, so a host on another link with the same address is trusted. That lets an attacker spoof X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Proto, defeating IP allowlists, rate limiting and audit logs.","audience":"developers","category":"package","nicknames":[],"who_cares":["fastify","node","self-hosted"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Attacker controls client IP, host and protocol values seen by the app","analyst_note":"","how_to_check":"- Check the installed version: `npm ls @fastify/proxy-addr` (versions 3.0.0 through 5.1.2 are affected).\n- Check whether `trustProxy` in the Fastify configuration is set to a zoned IPv6 link-local address (one containing a `%` zone such as `fe80::1%eth1`).\n- Check whether the server has more than one network interface on different links.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["default-config","global-or-loopback-trustproxy","single-homed-host"],"who_is_affected":"Only applications using Fastify with trustProxy set to a zoned IPv6 link-local address on a multi-homed server are exposed. An attacker must be directly on one of the other links of that server. Default configurations and global, private or loopback trust entries are not affected; a workaround is to trust a global, private or loopback proxy address instead.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000815,"input_tokens":4872,"output_tokens":656,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-121192':16A,19A '-2026':15A,18A '3.0.0':102C '5.1.2':104C '5.1.3':242C,248C 'address':40B,50B,116C,123C,149C,212C,261C,276C 'affect':235C 'allowlist':73B,191C 'anoth':45B,134C 'attack':56B,156C,185C,215C 'attacker-chosen':184C 'audit':77B,195C 'avoid':254C 'back':88C 'believ':99C 'bit':124C 'carri':143C 'check':32B,120C 'chosen':186C 'client':176C 'comparison':119C 'configur':108C,225C 'cve':14A,17A 'default':224C 'defeat':71B,189C 'determin':80C 'direct':216C 'entri':232C 'exploit':197C 'fastifi':20B,89C,183C 'fastify/proxy-addr':1A,26B,79C,241C 'fix':239C 'forward':12A,60B,64B,69B,95C,162C,166C,171C 'global':227C,271C 'header':13A,96C,173C 'home':140C,202C,266C 'hop':83C 'host':25B,43B,65B,132C,167C,178C,267C 'identifi':30B,129C 'ignor':27B,126C 'instead':277C 'ip':72B,177C,190C 'ipv6':3A,35B,112C 'issu':237C 'later':250C 'let':8A,54B 'limit':75B,193C 'link':5A,10A,37B,46B,114C,135C,147C,210C,222C,259C 'link-loc':4A,36B,113C,146C,209C,258C 'local':6A,38B,115C,148C,211C,260C 'log':78B,196C 'loopback':230C,274C 'make':174C 'multi':139C,201C,265C 'multi-hom':138C,200C,264C 'network':82C 'node':21B 'one':218C 'packag':22B 'privat':228C,272C 'proto':70B,172C 'protocol':180C 'proxi':86C,275C 'rate':74B,192C 'report':181C 'requir':198C 'self':24B 'self-host':23B 'server':141C,203C 'set':92C 'spoof':11A,57B,158C 'trust':7A,52B,85C,118C,151C,231C,255C,269C 'trustproxi':39B,91C,106C,205C 'upgrad':246C 'user':244C 'valu':187C 'version':101C 'well':153C 'whose':204C 'workaround':253C 'x':59B,63B,68B,161C,165C,170C 'x-forwarded-for':58B,160C 'x-forwarded-host':62B,164C 'x-forwarded-proto':67B,169C 'zone':2A,29B,34B,111C,128C,208C,257C","nicknames":[],"mitigations":[],"who_affected":"Only applications using Fastify with trustProxy set to a zoned IPv6 link-local address on a multi-homed server are exposed. An attacker must be directly on one of the other links of that server. Default configurations and global, private or loopback trust entries are not affected; a workaround is to trust a global, private or loopback proxy address instead.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["fastify","medium","node","package","selfhosted"],"campaign_type":null,"search_a":"'-121192':16A,19A '-2026':15A,18A 'cve':14A,17A 'fastify/proxy-addr':1A 'forward':12A 'header':13A 'ipv6':3A 'let':8A 'link':5A,10A 'link-loc':4A 'local':6A 'spoof':11A 'trust':7A 'zone':2A","search_b":"'address':40B,50B 'allowlist':73B 'anoth':45B 'attack':56B 'audit':77B 'check':32B 'defeat':71B 'fastifi':20B 'fastify/proxy-addr':26B 'forward':60B,64B,69B 'host':25B,43B,65B 'identifi':30B 'ignor':27B 'ip':72B 'ipv6':35B 'let':54B 'limit':75B 'link':37B,46B 'link-loc':36B 'local':38B 'log':78B 'node':21B 'packag':22B 'proto':70B 'rate':74B 'self':24B 'self-host':23B 'spoof':57B 'trust':52B 'trustproxi':39B 'x':59B,63B,68B 'x-forwarded-for':58B 'x-forwarded-host':62B 'x-forwarded-proto':67B 'zone':29B,34B","search_c":"'3.0.0':102C '5.1.2':104C '5.1.3':242C,248C 'address':116C,123C,149C,212C,261C,276C 'affect':235C 'allowlist':191C 'anoth':134C 'attack':156C,185C,215C 'attacker-chosen':184C 'audit':195C 'avoid':254C 'back':88C 'believ':99C 'bit':124C 'carri':143C 'check':120C 'chosen':186C 'client':176C 'comparison':119C 'configur':108C,225C 'default':224C 'defeat':189C 'determin':80C 'direct':216C 'entri':232C 'exploit':197C 'fastifi':89C,183C 'fastify/proxy-addr':79C,241C 'fix':239C 'forward':95C,162C,166C,171C 'global':227C,271C 'header':96C,173C 'home':140C,202C,266C 'hop':83C 'host':132C,167C,178C,267C 'identifi':129C 'ignor':126C 'instead':277C 'ip':177C,190C 'ipv6':112C 'issu':237C 'later':250C 'limit':193C 'link':114C,135C,147C,210C,222C,259C 'link-loc':113C,146C,209C,258C 'local':115C,148C,211C,260C 'log':196C 'loopback':230C,274C 'make':174C 'multi':139C,201C,265C 'multi-hom':138C,200C,264C 'network':82C 'one':218C 'privat':228C,272C 'proto':172C 'protocol':180C 'proxi':86C,275C 'rate':192C 'report':181C 'requir':198C 'server':141C,203C 'set':92C 'spoof':158C 'trust':85C,118C,151C,231C,255C,269C 'trustproxi':91C,106C,205C 'upgrad':246C 'user':244C 'valu':187C 'version':101C 'well':153C 'whose':204C 'workaround':253C 'x':161C,165C,170C 'x-forwarded-for':160C 'x-forwarded-host':164C 'x-forwarded-proto':169C 'zone':111C,128C,208C,257C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T09:34:49+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","cvss_by":"ce714d77-add3-4f53-aff5-83d477b104bb","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-121192","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121192","severity":null,"published_at":"2026-11-16T13:17:20+00:00","modified_at":"2026-11-16T13:17:20+00:00","first_seen_at":"2026-11-16T13:37:56+00:00","fetched_at":"2026-11-16T13:37:56+00:00","note":null}],"documents":[{"id":169787,"url":"https://github.com/fastify/proxy-addr/security/advisories/GHSA-fmr2-3fr5-78g8","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-16T09:34:49+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}