Rate Limiting Vulnerability in Fastify Web Framework Plugin
CVE-2026-133312
5.3MEDIUM
What is CVE-2026-133312?
The @fastify/rate-limit plugin for the Fastify web framework contains a vulnerability that allows for an excessive number of failed login attempts within a limited timeframe. Versions 11.1.0 through 11.2.2 implement a flawed manual flow where the peeking operation and password check are executed separately, resulting in the potential for concurrent requests to bypass limits. An uptick in failed attempts can lead to service disruption. The vulnerability has been addressed in version 11.3.0, which ensures that slot reservations for attempts are atomically handled to better enforce rate limits.
Affected Version(s)
@fastify/rate-limit 11.1.0 < 11.3.0
@fastify/rate-limit 11.3.0
