Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
CVE-2026-126204: express-rate-limit may allow one extra request burst
CVE-2026-126204 · published 9 days ago
Summary
The rate‑limiting tool used with Express (versions 8.6.0 to 8.7.2) can let a client send one more request than expected when a previous request is still completing as the time window changes. This could let an attacker briefly exceed your defined request limits. Upgrade to version 8.7.2 or later to resolve the issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | express-rate-limit | express-rate-limit | >= 8.6.0, < 8.7.2 |
| Ubuntu:26.10 | canonical | node-express-rate-limit | All versions |
Original advisory text
express-rate-limit skipFailedRequests / skipSuccessfulRequests: with the default MemoryStore, a request from an earlier window is still un-counted from the current window
express-rate-limit is a basic rate-limiting middleware for Express. From 8.6.0 until 8.7.2, the built-in MemoryStore returns a Client whose mutable resetTime object is retained by middleware using skipFailedRequests or skipSuccessfulRequests. When a later request resets the client window, MemoryStore.resetClient mutates that same Date, so an earlier request that finishes or disconnects after the reset can pass the stale-window guard and decrement the current window's count. A client able to keep requests in flight across the boundary can obtain a bounded extra burst of up to one additional configured limit in the new window; the behavior does not increase the sustained rate. Stores that return a fresh Date are not affected. This issue is fixed in version 8.7.2.
References
- https://github.com/express-rate-limit/express-rate-limit/commit/da5b115b97dd9030... Patch
- https://github.com/express-rate-limit/express-rate-limit/pull/707 Patch
- https://github.com/express-rate-limit/express-rate-limit/releases/tag/v8.7.2 URL
- https://github.com/express-rate-limit/express-rate-limit/security/advisories/GHS... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-1262... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-126204 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-126204 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-126204 Third Party Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-682Incorrect Calculation
Timeline
Published12 Nov 2026
Updated22 Nov 2026
First seen12 Nov 2026
Sources
CVE-2026-126204 · NVD
CVE-2026-126204 · MITRE
CVE-2026-126204 · OSV
GHSA-j3cq-92fq-qg5f · GHSA
UBUNTU-CVE-2026-126204 · OSV
Track software like this
Free during beta