Resource allocation without limits in express-rate-limit
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| express-rate-limit | express-rate-limit | 8.0.0 to before 8.0.2; 8.1.0 to before 8.1.1; 8.2.0 to before 8.2.2 | 8.0.2, 8.1.1, 8.2.2 | Patch available | CNA |
| — | express-rate-limit (npm) | 8.2.0 to before 8.2.2 | 8.2.2 | Patch available | GHSA-46wh-pxpv-q5gq |
| — | express-rate-limit (npm) | 8.1.0 to before 8.1.1 | 8.1.1 | Patch available | GHSA-46wh-pxpv-q5gq |
| — | express-rate-limit (npm) | 8.0.0 to before 8.0.2 | 8.0.2 | Patch available | GHSA-46wh-pxpv-q5gq |
- express-rate-limit Vendorexpress-rate-limit Affected 8.0.0 to before 8.0.2; 8.1.0 to before 8.1.1; 8.2.0 to before 8.2.2 Fixed in 8.0.2, 8.1.1, 8.2.2 Patch available CNA
- express-rate-limit (npm) Vendor— Affected 8.2.0 to before 8.2.2 Fixed in 8.2.2 Patch available GHSA-46wh-pxpv-q5gq
- express-rate-limit (npm) Vendor— Affected 8.1.0 to before 8.1.1 Fixed in 8.1.1 Patch available GHSA-46wh-pxpv-q5gq
- express-rate-limit (npm) Vendor— Affected 8.0.0 to before 8.0.2 Fixed in 8.0.2 Patch available GHSA-46wh-pxpv-q5gq
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:express-rate-limit_project:express-rate-limit:*:*:*:*:*:*:*:* | 8.0.0 to before 8.0.2; 8.2.0 to before 8.2.2 | Vulnerable | Express-rate-limit Project |
| cpe:2.3:a:express-rate-limit_project:express-rate-limit:8.1.0:*:*:*:*:*:*:* | 8.1.0 | Vulnerable | Express-rate-limit Project |
- cpe:2.3:a:express-rate-limit_project:express-rate-limit:*:*:*:*:*:*:*:* Versions 8.0.0 to before 8.0.2; 8.2.0 to before 8.2.2 Vulnerable ·Express-rate-limit Project
- cpe:2.3:a:express-rate-limit_project:express-rate-limit:8.1.0:*:*:*:*:*:*:* Versions 8.1.0 Vulnerable ·Express-rate-limit Project
Remediation
- Fix · CNA express-rate-limit (express-rate-limit) Fixed in 8.0.2, 8.1.1, 8.2.2
- Fix · GHSA-46wh-pxpv-q5gq express-rate-limit (npm) Fixed in 8.2.2 Advisory →
- Fix · GHSA-46wh-pxpv-q5gq express-rate-limit (npm) Fixed in 8.1.1 Advisory →
- Fix · GHSA-46wh-pxpv-q5gq express-rate-limit (npm) Fixed in 8.0.2 Advisory →
Red Hat 3 advisories
- RHSA-2026:21772 Released 2026-05-28 · Red Hat rating ImportantRed Hat OpenShift Dev Spaces 3.28.0 Release.
- Red Hat OpenShift Dev Spaces 3.28 registry.redhat.io/devspaces/code-rhel9, registry.redhat.io/devspaces/dashboard-rhel9, registry.redhat.io/devspaces/openvsx-rhel9 +3
- RHSA-2026:6404 Released 2026-04-01 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.6 Container Release Update
- Red Hat Ansible Automation Platform 2.6 registry.redhat.io/ansible-automation-platform-26/gateway-rhel9, registry.redhat.io/ansible-automation-platform-26/hub-rhel9, registry.redhat.io/ansible-automation-platform-26/lightspeed-chatbot-rhel9 +2
- RHSA-2026:6309 Released 2026-03-31 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.6 Container Release Update
- Red Hat Ansible Automation Platform 2.6 registry.redhat.io/ansible-automation-platform-26/gateway-rhel9, registry.redhat.io/ansible-automation-platform-26/hub-rhel9, registry.redhat.io/ansible-automation-platform-26/lightspeed-chatbot-rhel9 +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Developer Hub 1 | Affected | No fix planned: Will not fix |
| Self-service automation portal 2 | Affected | No fix yet |
| Red Hat Ansible Automation Platform 2.6 | Fixed | RHSA-2026:6309 |
| Red Hat OpenShift Dev Spaces 3.28 | Fixed | RHSA-2026:21772 |
Not affected: 2 products
- Red Hat Ansible Automation Platform 2.6
- Red Hat OpenShift Dev Spaces 3.28
Timeline
- 2026-10-02 Threatist record created from CVE-2026-30827
- 2026-10-03 Alias added: GHSA-46wh-pxpv-q5gq
- 2026-10-27 Affected versions changed · Red Hat
References
Exploit 1
Sources
- CVE-2026-30827 · CVE Program
- CVE-2026-30827 · NVD
- FIRST EPSS
- GHSA-46wh-pxpv-q5gq · GitHub Advisory Database · CC BY 4.0
- CVE-2026-30827 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences