CVE-2026-133312
@fastify/rate-limit vulnerable to failed-login limit bypass via a race condition in the documented flow
@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.
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-5r45Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| @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
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.3 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | CNA: openjs |
| 3.1 / 5.3 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD: ce714d77-add3-4f53-aff5-83d477b104bb |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/fastify/fastify-rate-limit/security/advisories/GHSA-24mh-2vvh-5r45CNA: openjs
- https://cna.openjsf.org/security-advisories.htmlCNA: openjs
- https://cna.openjsf.org/security-advisories.htmlce714d77-add3-4f53-aff5-83d477b104bb
- https://github.com/fastify/fastify-rate-limit/security/advisories/GHSA-24mh-2vvh-5r45ce714d77-add3-4f53-aff5-83d477b104bb
- https://github.com/fastify/fastify-rate-limit/security/advisories/GHSA-24mh-2vvh-5r45GitHub Security Advisories · advisory
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/cveshttps://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.