CVE-2026-137993
django-allauth 65.17.0 before 65.23.0 Denial of Service via truncate_ip() Rate-Limit Key
Medium · 6.3Fix available
- CVSS
- 6.3
- EPSS
- —
- Published
- 2026-11-27
- Age
- 23h old
- Modified
- 2026-11-27
- Product
- allauth django-allauth
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Description
django-allauth 65.17.0 before 65.23.0 contains a denial of service vulnerability in truncate_ip() that collapses all IPv4-mapped IPv6 clients into one shared rate-limit key. Unauthenticated attackers on dual-stack deployments can exhaust per-IP limits for login, signup or password reset, blocking legitimate IPv4 users.
Fixed in
65.23.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | django-allauth | >=65.17.0, <65.23.0 | 65.23.0 |
Sources
References
- https://codeberg.org/allauth/django-allauth/commit/2fbbaecfabf7a34af96edea399e2e4e800a68810 patch
- https://codeberg.org/allauth/django-allauth/src/tag/65.23.0/ChangeLog.rst release-notes
- https://codeberg.org/allauth/django-allauth/src/tag/65.22.1/allauth/core/internal/ratelimit.py#L135-L147 technical-description
- https://www.vulncheck.com/advisories/django-allauth-65.17.0-before-65.23.0-denial-of-service-via-truncate-ip-rate-limit-key third-party-advisory