CVE-2026-15144 Details
Description
@fastify/rate-limit before 11.2.0 keys rate-limit buckets by the verbatim client IP string returned from request.ip. Because a single IPv6 client can control a large address range (a /64 holds 2^64 distinct addresses) and the same address has multiple valid textual representations, an IPv6 capable client can defeat the rate-limit boundary by rotating addresses or by rewriting the same address in different forms. Applications that use @fastify/rate-limit to protect endpoints such as authentication, password reset, OTP delivery, or expensive API calls can be bypassed by IPv6 clients behind a proxy that surfaces IPv6 to the origin when trustProxy is enabled. The issue is fixed in @fastify/rate-limit 11.2.0, where the default key generator normalizes IPv6 addresses to their canonical form, collapses IPv4 mapped IPv6 to IPv4, and applies a configurable prefix mask (default /64) via a new ipv6Subnet option.
A vulnerability in the @fastify/rate-limit package, affecting versions prior to 11.2.0, allows IPv6 clients to bypass rate limits by manipulating IP address representations. The package keys rate-limit buckets based on the client IP string from request.ip. Since a single IPv6 client can control a vast range of addresses and can represent the same address in multiple valid ways, it can exploit this behavior to defeat rate limits. This issue is particularly concerning for applications using @fastify/rate-limit to protect critical endpoints like authentication or OTP delivery, especially when IPv6 is proxied to the origin and trustProxy is enabled.
Users are advised to upgrade to @fastify/rate-limit version 11.2.0 or later, where the vulnerability has been addressed by normalizing IPv6 addresses to their canonical form, collapsing IPv4-mapped IPv6 to IPv4, and applying a configurable prefix mask via the new ipv6Subnet option. For custom keyGenerator implementations, the normalizeIP function can be used to ensure proper IP normalization.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Vendor Advisory |
| https://github.com/fastify/fastify-rate-limit/security/advisories/GHSA-grpc-p53c-r64v | openjs | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-307 | Improper Restriction of Excessive Authentication Attempts | openjs |
| CWE-770 | Allocation of Resources Without Limits or Throttling | openjs |
Affected Products
| Product | Versions |
|---|---|
| fastify fastify/rate-limit | < 11.2.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | Initial Analysis | [email protected] |
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 29, 2026 | New CVE Received | openjs |