CVE-2026-133312
Received Received - Intake

Rate Limiting Bypass in Fastify Rate Limit Plugin

Vulnerability report for CVE-2026-133312, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: openjs

Description

@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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
fastify rate_limit From 11.1.0 (inc) to 11.2.2 (inc)
fastify rate_limit 11.3.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-307 The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.
CWE-367 The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a race condition in the @fastify/rate-limit package versions 11.1.0 through 11.2.2. It allows multiple concurrent requests to bypass rate limiting for failed login attempts by peeking at the limiter without consuming a slot. The peek and consume operations are separate, enabling a burst of requests to exceed the configured limit.

Detection Guidance

To detect this vulnerability, check if your system is running @fastify/rate-limit versions between 11.1.0 and 11.2.2. Run: npm list @fastify/rate-limit. If the version falls in this range, the system is vulnerable.

Impact Analysis

This vulnerability allows attackers to make more failed login attempts than intended, potentially bypassing rate limits designed to prevent brute force attacks. This could lead to increased server load or security risks if login attempts are not properly restricted.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR or HIPAA as it pertains to authentication rate limiting rather than data protection or privacy controls. However, excessive failed login attempts could potentially lead to account lockouts or denial-of-service scenarios, which may indirectly impact availability requirements under these regulations.

Mitigation Strategies

Upgrade @fastify/rate-limit to version 11.3.0 or later using: npm update @fastify/rate-limit. Alternatively, protect the login route with the default per-request limiter or implement the atomic reserve-then-refund pattern.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-133312. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...