{"id":"CVE-2026-92395","aliases":[],"summary":"@fastify/proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet","published_at":"2026-09-16T14:35:05.121Z","modified_at":"2026-10-14T14:41:57Z","products":[],"rating":{"severity":"critical","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0033199999015778303,"percentile":0.269459992647171,"date":"2026-11-19T00:00:00Z"},"priority":11.1,"details":"@fastify/proxy-addr is a Fastify plugin that determines a request's client address behind trusted reverse proxies, and it backs Fastify request.ip and request.ips. In versions 3.0.0 through 5.1.0, a trust subnet written in IPv4-mapped IPv6 notation with an IPv4-sized prefix, such as ::ffff:10.0.0.0/8 instead of the correct ::ffff:10.0.0.0/104, is accepted without error but trusts every IPv4 address on the internet rather than the block it names. Because the socket peer then becomes trusted at hop 0, any unauthenticated client can supply an arbitrary X-Forwarded-For header and control the address the application reads, which defeats IP-based access control, rate limiting, geolocation, and audit logging. The plugin inherited this defect from the upstream proxy-addr module (CVE-2026-90711). The issue is fixed in @fastify/proxy-addr 5.1.1, and users should upgrade to 5.1.1 or later. As a workaround, ensure any IPv4-mapped IPv6 trust subnet uses a prefix length of at least 97, or express the range in plain IPv4 notation.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"@fastify/proxy-addr/@fastify/proxy-addr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"5.1.1"}]}],"fixed":["5.1.1"],"provider":"cvelistv5","source":"CVE-2026-92395","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-92395"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-92395"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-92395","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-92395","license":"CC-BY-4.0","published_at":"2026-09-16T14:35:05.121Z","modified_at":"2026-09-17T18:39:20.231Z","summary":"@fastify/proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet","details":"@fastify/proxy-addr is a Fastify plugin that determines a request's client address behind trusted reverse proxies, and it backs Fastify request.ip and request.ips. In versions 3.0.0 through 5.1.0, a trust subnet written in IPv4-mapped IPv6 notation with an IPv4-sized prefix, such as ::ffff:10.0.0.0/8 instead of the correct ::ffff:10.0.0.0/104, is accepted without error but trusts every IPv4 address on the internet rather than the block it names. Because the socket peer then becomes trusted at hop 0, any unauthenticated client can supply an arbitrary X-Forwarded-For header and control the address the application reads, which defeats IP-based access control, rate limiting, geolocation, and audit logging. The plugin inherited this defect from the upstream proxy-addr module (CVE-2026-90711). The issue is fixed in @fastify/proxy-addr 5.1.1, and users should upgrade to 5.1.1 or later. As a workaround, ensure any IPv4-mapped IPv6 trust subnet uses a prefix length of at least 97, or express the range in plain IPv4 notation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2026-92395"}],"affected":[{"ecosystem":"CVE","package":"@fastify/proxy-addr/@fastify/proxy-addr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"5.1.1"}]}],"fixed":["5.1.1"],"provider":"cvelistv5","source":"CVE-2026-92395","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/fastify/proxy-addr/security/advisories/GHSA-8cmm-mhw6-v7xq"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"}]},{"provider":"redhat-vex","source_id":"CVE-2026-92395","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-92395","license":"CC-BY-4.0","published_at":"2026-09-16T14:35:05.121Z","modified_at":"2026-10-14T14:41:57Z","summary":"@fastify/proxy-addr: @fastify/proxy-addr: Access control bypass via mishandled IPv4-mapped IPv6 subnets","details":"A flaw was found in @fastify/proxy-addr. This flaw allows a remote, unauthenticated attacker to bypass access controls and security policies by spoofing client IP (Internet Protocol) addresses. When configured with certain IPv4-mapped IPv6 network ranges, the plugin improperly treats all incoming IPv4 connections as trusted reverse proxies. An attacker can exploit this issue by supplying forged proxy request headers, enabling them to circumvent IP-based restrictions, bypass rate limiting, and mislead audit logging.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2026-92395"},{"type":"Red Hat","score":"Important","source":"CVE-2026-92395"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-92395"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-92395"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92395.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-92395"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2535484"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-92395"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92395"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"WEB","url":"https://github.com/fastify/proxy-addr/security/advisories/GHSA-8cmm-mhw6-v7xq"}]}],"references":[{"type":"WEB","url":"https://github.com/fastify/proxy-addr/security/advisories/GHSA-8cmm-mhw6-v7xq"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92395.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-92395"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2535484"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-92395"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92395"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-92395","url":"https://www.cve.org/CVERecord?id=CVE-2026-92395","license":"CC-BY-4.0","modified_at":"2026-09-17T18:39:20.231Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-92395","url":"https://access.redhat.com/security/cve/CVE-2026-92395","license":"CC-BY-4.0","modified_at":"2026-10-14T14:41:57Z","relation":"self"}]}
