Public vulnerability disclosure

CVE-2026-133312

@fastify/rate-limit vulnerable to failed-login limit bypass via a race condition in the documented flow

publishedCWE-307CWE-367

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

Technical severity5.3 mediumCVSS 3.1 · CNA: openjs
Published2026-11-21Source updated 2026-11-23
Collected2026-11-234 attributed sources

Fixes and workarounds

Fix

@fastify/rate-limit (npm): GitHub reports patched versions 11.3.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-24mh-2vvh-5r45

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
@fastify/rate-limit
@fastify/rate-limit
@fastify/rate-limit
npm
≥ 11.1.0; < 11.3.0 (affected, semver)
11.3.0 (unaffected, semver)
Other versions: unaffected
CNA: openjs
@fastify/rate-limit

@fastify/rate-limit
npm
>= 11.1.0, < 11.3.0 (affected, GitHub advisory range) GitHub GHSA-24mh-2vvh-5r45

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 5.3
medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NCNA: openjs
3.1 / 5.3
medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD: ce714d77-add3-4f53-aff5-83d477b104bb

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide