CVE-2026-133312
published medium CVSS 3.1 · 5.3@fastify/rate-limit vulnerable to failed-login limit bypass via a race condition in the documented flow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/rate-limit | — | @fastify/rate-limit11.1.0 to < 11.3.0 (affected · semver) · 11.3.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/rate-limit | @fastify/rate-limit | 11.1.0 to < 11.3.0 (affected · semver)11.3.0 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
2- CWE-307 CWE-307: Improper Restriction of Excessive Authentication Attempts
- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
References
2Provider assertions
2openjs · cna
@fastify/rate-limit vulnerable to failed-login limit bypass via a race condition in the documented flow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- af37b0753948c5e127dac8775d686fa78afa60c8063e8bdaff4f47f809608168
- Ingested
- 23 Nov 2026, 20:27:27 UTC
- Source record
- Official CVE record