Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-133312: vulnerabilidad de severidad media (CVSS 5.3) en @fastify/rate-limit @fastify/rate-limit.
Qué ocurre
Descripción original de la fuente (en inglés): @fastify/rate-limit is the rate-limiting plugin for the Fastify web framework. Starting in version 11.1.0, the plugin documented a manual flow for limiting failed login attempts that peeks at the limiter, runs the password check, and consumes a slot only on failure. Because the peek and the consume are two separate store operations with the password check in between, concurrent requests can all pass the peek before any slot is consumed, so in versions 11.1.0 through 11.2.2 a burst of requests runs far more failed attempts than the configured limit, and the sequential path also allowed one attempt more than configured. The default per-request limiter is not affected. The issue is fixed in @fastify/rate-limit 11.3.0, which makes the manual flow atomic by reserving a slot in a single operation and refunding it only on success, and users should upgrade to 11.3.0 or later.
Por qué importa
Severidad media, CVSS 5.3.
Productos y versiones afectados
@fastify/rate-limit @fastify/rate-limit >= 11.1.0, < 11.3.0; @fastify/rate-limit @fastify/rate-limit 11.3.0 (corregido en 11.3.0)
| Producto | Versiones | Corregido en |
|---|---|---|
| @fastify/rate-limit @fastify/rate-limit | >= 11.1.0, < 11.3.0 | — |
| @fastify/rate-limit @fastify/rate-limit | 11.3.0 | 11.3.0 |
Acción recomendada por la fuente
Actualizar a una versión corregida: 11.3.0.
Corregido en: 11.3.0
Fuentes y referencias
- https://github.com/fastify/fastify-rate-limit/security/advisories/GHSA-24mh-2vvh-5r45 — CVE Program
- https://cna.openjsf.org/security-advisories.html — CVE Program
Debilidades (CWE): CWE-307, CWE-367
Historial de cambios relevantes
Publicado
Aviso preliminar publicado.