Todas las CVE / @fastify/proxy-addr
CVE-2026-92395@fastify/proxy-addr
Bypass de control de acceso por IP en @fastify/proxy-addr
Crítica 9.1 Sin autenticación
Seguir: esta CVE · @fastify/proxy-addr · @fastify/proxy-addr Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 16 sep 2026
- Actualizada
- 17 sep 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Qué pasa
@fastify/proxy-addr versiones 3.0.0 a 5.1.0 aceptan subredes IPv4-mapeadas en IPv6 con prefijo incorrecto sin validar, confiando en todas las direcciones IPv4 en lugar del bloque especificado. Un atacante sin autenticación puede enviar encabezados X-Forwarded-For arbitrarios para controlar la dirección IP que lee la aplicación, eludiendo controles de acceso, limitación de velocidad y auditoría.
Ver el texto original de NVD (en inglés)
@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.
Qué hacer
Hay parche · versiones corregidas: 5.1.1
Actualiza @fastify/proxy-addr a versión 5.1.1 o posterior. Como mitigación temporal, asegúrate de que las subredes IPv6 mapeadas usen prefijo de al menos 97 bits o expresa el rango en notación IPv4 pura.
- Aplica la actualización de seguridad del fabricante para @fastify/proxy-addr.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- @fastify/proxy-addr · @fastify/proxy-addr
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.