CVE-2026-137993

django-allauth 65.17.0 before 65.23.0 Denial of Service via truncate_ip() Rate-Limit Key

Published Nov 27, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The defect in django‑allauth versions 65.17.0 through 65.22.x causes a denial of service by collapsing all IPv4‑mapped IPv6 client addresses into a single rate‑limit key. An unauthenticated attacker can repeatedly target login, signup, or password‑reset endpoints, exhausting the per‑IP quota for legitimate IPv4 users while the attacker continues to generate traffic. This flaw is classified as CWE‑645 and affects only availability, with no privilege escalation or data breach potential.

Affected Systems

The vulnerability is present in the django‑allauth Python package for the Django web framework, specifically all releases with a version number from 65.17.0 up to, but not including, 65.23.0. Users deploying these versions on servers that accept both IPv4 and IPv6 traffic are impacted.

Risk and Exploitability

The CVSS score of 6.3 places the incident in the moderate severity range. EPSS data are not available, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed exploitation in the wild as of this analysis. Attackers can exploit the flaw with ordinary network traffic over any path that reaches the authentication endpoints on a dual‑stack host. The lack of required authentication or special permissions means the threat is relatively realistic for exposed services. Fully understanding the risk requires assessing whether the deployment uses a dual‑stack configuration and whether the per‑IP rate limit would be a bottleneck for legitimate traffic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade django‑allauth to version 65.23.0 or later, which corrects the rate‑limit key calculation.
  • If an immediate upgrade is not possible, reconfigure any reverse proxy or load balancer so that IPv4‑mapped IPv6 requests are translated to plain IPv4 addresses or disable IPv6 support on the authentication endpoints to prevent key collision.
  • After the upgrade, monitor authentication logs for abnormal request rates and adjust rate‑limit thresholds or implement additional safeguards if the service continues to experience intermittent denial of service.

Generated by OpenCVE AI on November 27, 2026 at 17:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Allauth
Allauth django-allauth
Vendors & Products Allauth
Allauth django-allauth
Type Values Removed Values Added
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.
Title django-allauth 65.17.0 before 65.23.0 Denial of Service via truncate_ip() Rate-Limit Key
Weaknesses CWE-645
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': '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'}

Weaknesses
  • CWE-645

    Overly Restrictive Account Lockout Mechanism

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 27, 2026, 4:10 PM
Reserved
Nov 27, 2026, 3:59 PM
Status
Received
Published
Nov 27, 2026, 5:17 PM
Modified
Nov 27, 2026, 5:17 PM