{"id":"CVE-2024-45231","aliases":["GHSA-rrqc-c2jx-6jgv","BIT-django-2024-45231","PYSEC-2026-1297"],"title":"Django allows enumeration of user e-mail addresses","summary":"Django allows enumeration of user e-mail addresses","severity":"low","cvss":3.7,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","vendor":"django","product":"django","ecosystem":"pip","affected":["django >= 5.1, < 5.1.1","django >= 5.0, < 5.0.9","django < 4.2.16"],"patched":["django 5.1.1","django 5.0.9","django 4.2.16"],"published":"2024-10-08","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-rrqc-c2jx-6jgv","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45231"},{"url":"https://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca"},{"url":"https://github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2"},{"url":"https://github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199"},{"url":"https://docs.djangoproject.com/en/dev/releases/security"},{"url":"https://github.com/django/django"},{"url":"https://groups.google.com/forum/#%21forum/django-announce"},{"url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases"}],"tags":["osv","pip"],"epss":0.00788,"epssPercentile":0.54231,"ingestedAt":"2026-07-08T18:25:53.018Z","slug":"CVE-2024-45231","body":"## Overview\n\nAn issue was discovered in Django v5.1.1, v5.0.9, and v4.2.16. The django.contrib.auth.forms.PasswordResetForm class, when used in a view implementing password reset flows, allows remote attackers to enumerate user e-mail addresses by sending password reset requests and observing the outcome (only when e-mail sending is consistently failing).\n\n## Affected packages\n\n- `django >= 5.1, < 5.1.1`\n- `django >= 5.0, < 5.0.9`\n- `django < 4.2.16`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `django 5.1.1`\n- `django 5.0.9`\n- `django 4.2.16`","depth":"sunlit","depthScore":21,"depthScoreParts":{"impact":20.4,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}