CVE-2026-15144

@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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:fastify:fastify\/rate-limit:*:*:*:*:*:node.js:*:*

History

05 Aug 2026, 15:33

Type Values Removed Values Added
CPE cpe:2.3:a:fastify:fastify\/rate-limit:*:*:*:*:*:node.js:*:*
First Time Fastify
Fastify fastify\/rate-limit
References () https://cna.openjsf.org/security-advisories.html - () https://cna.openjsf.org/security-advisories.html - Vendor Advisory
References () https://github.com/fastify/fastify-rate-limit/security/advisories/GHSA-grpc-p53c-r64v - () https://github.com/fastify/fastify-rate-limit/security/advisories/GHSA-grpc-p53c-r64v - Vendor Advisory

29 Jul 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-29 17:16

Updated : 2026-08-05 15:33


NVD link : CVE-2026-15144

Mitre link : CVE-2026-15144

CVE.ORG link : CVE-2026-15144


JSON object : View

Products Affected

fastify

  • fastify\/rate-limit
CWE
CWE-307

Improper Restriction of Excessive Authentication Attempts

CWE-770

Allocation of Resources Without Limits or Throttling