cvelo
P3 · MediumCVSS 5.3EPSS 0.5%

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

  • CVE-2026-133312
  • EUVD-2026-132186

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.

Text from the CVE.org record.

Recommendation

  • @fastify/rate-limit

    • If you run a version from 11.1.0 to before 11.3.0update to 11.3.0 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • @fastify/rate-limit

    Affected versionsFixed in
    from 11.1.0 to before 11.3.011.3.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.