Intel

AIKIDO-2026-158893

@nestjs/throttler is vulnerable to Uncontrolled Resource Consumption

GHSA-5wh8-6fqf-738gPublished Oct 29, 2026
October 29, 2026

75

CVE Score

High

Uncontrolled Resource Consumption

Are you affected? Scan for Free

TL;DR

ThrottlerGuard keys each rate-limit counter using the built-in getTracker, which returns the raw req.ip that untrusted clients supply, so a client rotating IPv6 addresses within its own subnet never shares a counter and bypasses the limit. The default in-memory ThrottlerStorageService keeps one permanent record per tracker key, so many distinct addresses grow the map until the process exhausts memory; custom getTracker or storage implementations are unaffected. The fix normalizes IPv6 addresses to a configurable /64 tracker and periodically sweeps idle records out of the in-memory storage.

How do I fix this?

Upgrade the @nestjs/throttler package to version 6.7.0 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and rely on the built-in getTracker of ThrottlerGuard and the default in-memory ThrottlerStorageService.

Versions

1.1.1 - 6.6.0

Fixed in 6.7.0

Background info

@nestjs/throttler is vulnerable to Uncontrolled Resource Consumption in versions 1.1.1 - 6.6.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea