Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Crum7

#37579of 56,326
7.5Total CVSS
Vulnerabilities · 1
PT-2025-40902
7.5
2025-10-06
Litestar · Litestar · CVE-2025-59152
**Name of the Vulnerable Software and Affected Versions** Litestar versions prior to 2.18.0 **Description** Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. In version 2.17.0, rate limits can be bypassed by manipulating the X-Forwarded-For header. The `RateLimitMiddleware` uses `cache key from request()` to generate cache keys for rate limiting. When an X-Forwarded-For header is present, the middleware trusts it unconditionally and uses its value as part of the client identifier. Attackers can rotate through different header values to avoid rate limits. This affects Litestar applications using RateLimitMiddleware with default settings. **Recommendations** Update to Litestar version 2.18.0 or later.