{"vuln_id":"CVE-2026-133312","aliases":["GHSA-24mh-2vvh-5r45"],"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.","published_at":"2026-11-21T17:16:40.540000Z","modified_at":"2026-11-21T17:16:40.540000Z","first_seen_at":"2026-11-21T19:15:21.307053Z","severity":"medium","severity_source":"nvd","cvss_score":5.3,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","cwe":["CWE-307","CWE-367"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-133312"},"matched_alias":null,"items":[{"id":2772,"source":{"id":"vuldb","name":"VulDB recent entries"},"title":"CVE-2026-133312 | Fastify rate-limit up to 11.2.2 toctou","summary":"A vulnerability labeled as problematic has been found in Fastify rate-limit up to 11.2.2. This impacts an unknown function. Executing a manipulation can lead to time-of-check time-of-use.\n\nThe identification of this vulnerability is CVE-2026-133312. The attack may be launched remotely. There is no exploit available.\n\nThe affected component should be upgraded.","url":"https://vuldb.com/vuln/441935","published_at":"2026-11-21T17:17:23Z","updated_at":"2026-11-21T17:17:23Z","fetched_at":"2026-11-21T19:15:21.123127Z","severity":"medium","cvss_score":5.3,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"Fastify","product":"rate-limit","vuln_id":"CVE-2026-133312","vuln_ids":["CVE-2026-133312","GHSA-24MH-2VVH-5R45"],"tags":["Vendor: Fastify","Product: rate-limit","Risk: problematic","Physical: No","Local: No","Remote: Yes","Exploit: No","Countermeasures: Upgrade"],"cluster_id":2855,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2772","html":"https://vulnwatch.ve1ve2.com/item/2772"}},{"id":10253,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-133312: @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 fai…","summary":"@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.\n\nReferences:\nhttps://cna.openjsf.org/security-advisories.html\nhttps://github.com/fastify/fastify-rate-limit/security/advisories/GHSA-24mh-2vvh-5r45","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133312","published_at":"2026-11-21T17:16:40.540000Z","updated_at":"2026-11-21T17:16:40.540000Z","fetched_at":"2026-11-21T19:15:31.485735Z","severity":"medium","cvss_score":5.3,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-133312","vuln_ids":["CVE-2026-133312","GHSA-24MH-2VVH-5R45"],"tags":["CWE-307","CWE-367"],"cluster_id":2855,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10253","html":"https://vulnwatch.ve1ve2.com/item/10253"}}]}