Bug 2572746 (CVE-2026-126204)

Summary: CVE-2026-126204 express-rate-limit: express-rate-limit: Rate limit bypass via in-flight request window reset handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abarbaro, alizardo, dhanak, drosa, dsimansk, dymurray, jchui, jhe, jlanda, jwong, kingland, kshier, ktsao, lchilton, mnovotny, nboldt, oaljalju, psrna, rbobbitt, rhel-process-autobot, sausingh, sdawley, sfeifer, simaishi, stcannon, tguha, watson-tool-maintainers, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in express-rate-limit. Due to improper handling of internal time window tracking in the built-in memory store, pending requests that complete across a window reset can erroneously decrement the counter for the new time window. A remote attacker can exploit this issue by maintaining requests in flight across a window transition, allowing them to bypass rate limits and send an extra burst of requests beyond the configured threshold.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2578340    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-12 18:51:42 UTC
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.