{"id":"CVE-2026-30827","published":"2026-03-07T05:19:08Z","modified":"2026-03-09T20:44:25Z","title":"express-rate-limit: IPv4-mapped IPv6 addresses bypass per-client rate limiting (all IPv4 clients share one bucket on…","vendor":"express-rate-limit","product":"express-rate-limit","tier":"tail","description":{"text":"express-rate-limit is a basic rate-limiting middleware for Express. In versions starting from 8.0.0 and prior to versions 8.0.2, 8.1.1, 8.2.2, and 8.3.0, the default keyGenerator in express-rate-limit applies IPv6 subnet masking (/56 by default) to all addresses that net.isIPv6() returns true for. This includes IPv4-mapped IPv6 addresses (::ffff:x.x.x.x), which Node.js returns as request.ip on dual-stack servers. Because the first 80 bits of all IPv4-mapped addresses are zero, a /56 (or any /32 to /80) subnet mask produces the same network key (::/56) for every IPv4 client. This collapses all IPv4 traffic into a single rate-limit bucket: one client exhausting the limit causes HTTP 429 for all other IPv4 clients. This issue has been patched in versions 8.0.2, 8.1.1, 8.2.2, and 8.3.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.44854,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/express-rate-limit/express-rate-limit/security/advisories/GHSA-46wh-pxpv-q5gq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/express-rate-limit/express-rate-limit/commit/14e53888cdfd1b9798faf5b634c4206409e27fc4","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.97},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"express-rate-limit","affectedVersions":[{"vendor":"express-rate-limit","product":"express-rate-limit","versions":[">= 8.0.0, < 8.0.2",">= 8.1.0, < 8.1.1",">= 8.2.0, < 8.2.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-09T20:40:59.712815Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"express-rate-limit","vulnerableRanges":[">=8.2.0, <8.2.2",">=8.1.0, <8.1.1",">=8.0.0, <8.0.2"],"patched":["8.2.2","8.1.1","8.0.2"],"from":["GHSA-46wh-pxpv-q5gq"],"provenance":"source"}],"summary":{"text":"express-rate-limit, the Express rate-limiting middleware, has a flaw in its default keyGenerator, which applies IPv6 subnet masking to IPv4-mapped IPv6 addresses (such as ::ffff:x.x.x.x) that Node.js reports on dual-stack servers, so every IPv4 client is keyed to the same bucket. An unauthenticated remote attacker over the network needs no user interaction or special configuration beyond the default keyGenerator on an affected version: by exhausting the shared limit, they can cause HTTP 429 responses for all other IPv4 clients, denying them service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:03Z"},"euvd":{"id":"EUVD-2026-10113","exploited":false,"provenance":"source"}}