Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach auth endpoint via IPv4-mapped IPv6
-
ExploitFlood login/signup/reset requests
-
ExecutionExhaust shared per-IP rate-limit key
-
ImpactBlock legitimate IPv4 users from authenticating
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Overly restrictive account lockout
|
| Exploitation Conditions | Requires a dual-stack (IPv4+IPv6) django-allauth deployment where IPv4 clients reach the application as IPv4-mapped IPv6 addresses; under that condition truncate_ip() derives one shared rate-limit key for all such clients, so an attacker can exhaust the collective per-IP limit for login, signup, or password reset. No authentication is required (PR:N). Exploitation is LIMITED to the affected version range (65.17.0 up to but not including 65.23.0) and to deployments actually running in dual-stack mode with IPv4-mapped IPv6 handling - single-stack or non-mapped configurations are not affected - and the only impact is temporary denial of authentication for IPv4 users, with no data exposure or code execution. |
| Impact | This is a moderate, availability-only issue rather than a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 6.3 and tells a consistent story: network-reachable and unauthenticated (PR:N), but gated by a specific attack requirement (AT:P) and higher complexity (AC:H) because it only manifests on dual-stack deployments where IPv4 clients arrive as IPv4-mapped IPv6 addresses. Impact is confined to limited availability (VA:L) - the only consequence is corruption of per-IP rate-limiting for login/signup/password-reset, with no confidentiality or integrity impact (VC:N/VI:N). The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the limited impact. No EPSS score, no CISA KEV listing, and no public exploit code are present in the input (only a vendor patch, changelog, source lines, and a VulnCheck advisory), so there is no signal of active or widespread exploitation. CWE-645 (overly restrictive lockout mechanism) fits: the flaw lets an attacker weaponize the rate-limiter against legitimate users. Net: a real but bounded DoS worth patching on a normal cycle, not a drop-everything event; prioritize it if you run django-allauth 65.17.0-65.22.x on a dual-stack IPv4/IPv6 front end. |
| Exploit ScenarioDerived | On a dual-stack django-allauth deployment, an unauthenticated attacker repeatedly hits the login, signup, or password-reset endpoints; because truncate_ip() collapses all IPv4-mapped IPv6 clients into one shared rate-limit key, their requests consume the single bucket that all IPv4 users share. Once the shared limit is exhausted, legitimate IPv4 users are blocked from authenticating. No public exploit code is identified in the sources, though the trigger is straightforward given the described keying flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
django-allauth 65.17.0 through 65.22.x collapses every IPv4 client into a single shared rate-limit key when those clients arrive as IPv4-mapped IPv6 addresses, letting unauthenticated remote attackers exhaust the collective per-IP budget for login, signup and password reset and lock legitimate IPv4 users out of authentication on dual-stack deployments. The flaw lives in truncate_ip() in allauth/core/internal/ratelimit.py, is availability-only (no data exposure or code execution), and requires a dual-stack configuration where IPv4 traffic reaches the application as ::ffff:a.b.c.d addresses - single-stack or non-mapped setups are outside the affected condition. This is a moderate, availability-only issue rather than a top-tier emergency; no public exploit code has been identified at time of analysis, and the vendor has released a fix in 65.23.0.
RemediationAI
Vendor-released patch: upgrade django-allauth to 65.23.0 or later, which contains the truncate_ip() correction from commit https://codeberg.org/allauth/django-allauth/commit/2fbbaecfabf7a34af96edea399e2e4e800a68810 and is documented in https://codeberg.org/allauth/django-allauth/src/tag/65.23.0/ChangeLog.rst. Because the vulnerable branch is visible in the 65.22.1 tag of allauth/core/internal/ratelimit.py, teams that cannot move to 65.23.0 immediately can backport that specific commit, but this is an unverified partial fix until the release is adopted. Where an upgrade is deferred, the deployment condition itself is the lever: the assessed conditions state that single-stack or non-mapped configurations are not affected, so ensuring IPv4 clients are not presented as IPv4-mapped IPv6 addresses removes the shared-key collapse - at the trade-off of reduced IPv6 reachability or a proxy/front-end change in how client addresses are surfaced to the application. Given the availability-only impact and the this_month priority, schedule the upgrade in the current maintenance window rather than as an emergency change, and monitor authentication and password-reset error rates for signs of a shared rate-limit bucket being exhausted while the upgrade is pending.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
django-allauth ships an internal rate-limiting helper in allauth/core/internal/ratelimit.py whose truncate_ip() function normalises client addresses into the key used for per-IP throttling. On dual-stack servers, IPv4 clients frequently appear to the WSGI/ASGI stack as IPv4-mapped IPv6 addresses in the ::ffff:0:0/96 range. Because truncate_ip() treats such addresses as ordinary IPv6 and truncates them to a shared prefix, all mapped IPv4 clients derive the same rate-limit key, so the throttle degenerates from per-client accounting into one global bucket. The weakness class is CWE-645 (Overly Restrictive Account Lockout Mechanism): the protection mechanism itself becomes the denial-of-service vector, because one attacker can consume the shared bucket and cause authentication, registration and password-reset flows to be refused for every other IPv4 user. The affected CPE is cpe:2.3:a:allauth:django-allauth, bounded to versions 65.17.0 up to but not including 65.23.0; the vulnerable logic is visible in the 65.22.1 tag at ratelimit.py lines 135-147, and the corrective change is the upstream commit 2fbbaecfabf7a34af96edea399e2e4e800a68810 referenced from the CVE record. Impact is limited to temporary denial of authentication for IPv4 users, which is consistent with the assessed CVSS:3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - high attack complexity reflects the dual-stack/IPv4-mapped precondition rather than any timing or memory-grooming requirement, which the available sources do not describe.
Know when Allauth gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable and unauthenticated (AV:N/PR:N), but only triggerable on dual-stack IPv4-mapped-IPv6 deployments (AC:H), with limited availability-only impact on auth rate-limiting (C:N/I:N/A:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Allauth versions up to 65.14.1 is affected by url redirection to untrusted site (open redirect) (CVSS 6.1).
Authentication bypass in django-allauth versions before 65.13.0 allows an authenticated attacker with a valid Okta or Ne
Deactivated django-allauth identity-provider accounts retain access to protected resources because OAuth2/OpenID Connect
EUVD-2026-137355
GHSA-ccp6-5xj7-3xjg
NVD
CVE.org
EPSS
VulDB
Exploit-DB