Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFind endpoint using MemoryStore with a skip option
-
DeliveryOpen request held in flight before window reset
-
ExploitSend full budget in the new window
-
ExecutionLet old request fail/abort after reset
-
PersistStale-window guard wrongly decrements new window
-
ImpactPush a bounded extra burst up to 2× limit
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Calculation correctness
|
| Exploitation Conditions | Requires the application to run express-rate-limit 8.6.0-8.7.1 using the built-in default MemoryStore AND to have enabled skipFailedRequests or skipSuccessfulRequests - both are non-default opt-in options. The attacker must be able to keep at least one request in flight across the rate-limit window boundary, e.g. a slow endpoint, a request that returns an error, or a socket the client deliberately abandons (with skipFailedRequests, merely disconnecting suffices). LIMITING FACTORS: applications using external stores such as rate-limit-redis are not affected (those return a fresh Date); without a skip option enabled the guard is irrelevant; the advantage is a one-off burst capped at one extra configured limit per window and does not raise the sustained request rate; exploitation needs precise timing around the window reset (AC:H). |
| Impact | This is a genuine but low-priority correctness flaw (CWE-682), and the signals agree on low urgency rather than conflict. The supplied CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L (3.7) is network-reachable and unauthenticated (PR:N) but high-complexity (AC:H), with only a minor availability impact (A:L) and no confidentiality or integrity impact - matching the description, where the sole effect is a bounded, one-off rate-limit over-admission. The vuln.today Decision label is 'monitor', not act_now/emergency. The flaw is not in CISA KEV and no EPSS score was provided; absence of these is not itself a negative signal, but nothing indicates active exploitation, so exploitation status is 'no public exploit identified as confirmed, though a public PoC reference exists.' A working reporter repro harness is embedded in the advisory and has been public in the gdp-wired research repository since 2026-10-23, so exploitability is practically demonstrated, but the gain is explicitly bounded (up to one extra limit's worth of requests in a single window, with no increase in sustained rate), which caps real-world risk. Net: a real, confirmed bug worth patching on a normal cycle, not a high-CVSS-but-illusory issue nor an emergency - its real risk is further limited by requiring a specific non-default configuration (see exploitation_conditions). |
| Exploit ScenarioDerived | An app rate-limits an endpoint with express-rate-limit's default MemoryStore and skipFailedRequests (or skipSuccessfulRequests) enabled. An attacker starts a slow, failing, or deliberately abandoned request just before the rate-limit window resets, lets the new window begin and consume its budget, then lets the old request finish so its decrement is wrongly applied to the new window - admitting a one-off burst of up to twice the configured limit. A working proof-of-concept repro harness is published in the advisory and the reporter's research repository. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Rate-limit bypass in express-rate-limit 8.6.0 through 8.7.1 lets a client push up to one extra configured limit of requests through a single window when the default built-in MemoryStore is combined with the opt-in skipFailedRequests or skipSuccessfulRequests options. Because MemoryStore hands out a Client whose resetTime Date is mutated in place on window reset, a request held open across the window boundary finishes against a stale reference, passes the 8.6.0 stale-window guard, and decrements the new window's counter. The gain is bounded to a one-off burst (at most doubling the limit for one window) and does not raise the sustained rate; severity is low (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L = 3.7) and the vuln.today decision label is monitor, with no confirmed active exploitation. A public reproduction harness has been published in the gdp-wired prover repository since 2026-10-23 and a full repro script is included in the GitHub advisory, but it is not characterised as weaponized exploit code; the fix ships in 8.7.2.
RemediationAI
Upgrade express-rate-limit to 8.7.2, which contains both the MemoryStore.resetClient change that assigns a fresh Date and the middleware change that copies resetTime for requests handled under skipFailedRequests or skipSuccessfulRequests (commit da5b115b97dd903076d37b19437fbd71445e150b, PR https://github.com/express-rate-limit/express-rate-limit/pull/707, release https://github.com/express-rate-limit/express-rate-limit/releases/tag/v8.7.2; advisory https://github.com/express-rate-limit/express-rate-limit/security/advisories/GHSA-j3cq-92fq-qg5f). If an immediate upgrade is not possible, the flaw can be avoided by supplying an external store that returns a fresh Date on increment (for example rate-limit-redis), at the cost of adding a Redis dependency and network latency to every rate-limit check, or by disabling skipFailedRequests and skipSuccessfulRequests so the stale-window decrement path is never taken, at the cost of counting failed or client-abandoned requests against the limit and potentially penalising legitimate slow clients. Applications that must keep both the built-in store and the skip options can backport the upstream one-line change so the middleware copies the returned resetTime (new Date(incrementResult.resetTime.getTime())) or so resetClient assigns a new Date rather than mutating the existing one. Note that the vendor and reporter both frame the practical exposure as a bounded one-off burst of up to one additional configured limit per window rather than a sustained rate increase, and the priority label is monitor.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
express-rate-limit is a rate-limiting middleware for Express; its default backing store, MemoryStore, keeps a per-key Client object containing a count and a resetTime Date. MemoryStore.increment returns that stored Client object directly (memory-store.ts:111), so the middleware's local resetTime is not a copy but the same Date instance the store holds. When the client's next hit rolls the window, MemoryStore.resetClient previously advanced that Date in place via client.resetTime.setTime(now + windowMs) (memory-store.ts:174). The 8.6.0 fix (PR #647) added a guard at rate-limit.ts:545-547 comparing Date.now() >= resetTime.getTime() before decrementing, intended to stop a request that finishes after its window reset from un-counting the new window when skipFailedRequests or skipSuccessfulRequests is enabled. Since the aliased Date has already been moved forward, the guard reads the new window's reset time, passes, and the later decrement lowers the current window's count. The root cause is CWE-682 (Incorrect Calculation) manifesting as shared mutable state/aliasing between the store and the middleware. Stores that return a fresh Date on increment, such as rate-limit-redis or the MockStore used in the #647 regression tests, are not affected because the middleware's reference is not mutated by a reset. The upstream fix addresses both sides: MemoryStore.resetClient now assigns client.resetTime = new Date(now + windowMs) instead of mutating, and the middleware copies incrementResult.resetTime when a skip option is active.
Know when Express Rate Limit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Network-reachable and unauthenticated (PR:N), but AC:H for the required skip-option config plus timing across the window boundary; only a minor, bounded availability/rate-limit impact (A:L), no C or I.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-124641
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB