Live threats

All CVEs / Djangoproject

CVE-2024-45231Djangoproject Django

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Oct 8, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-203
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

An 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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 5.1 < 5.1.1 5.1.1 pip install "django>=5.1.1"
PyPI django ≥ 5.0 < 5.0.9 5.0.9 pip install "django>=5.0.9"
PyPI django < 4.2.16 4.2.16 pip install "django>=4.2.16"
PyPI django < 4.2.16 4.2.16 pip install "django>=4.2.16"
PyPI django ≥ 5.0 < 5.0.9 5.0.9 pip install "django>=5.0.9"
PyPI django ≥ 5.1 < 5.1.1 5.1.1 pip install "django>=5.1.1"

Per OSV / GitHub Advisories (GHSA-rrqc-c2jx-6jgv, PYSEC-2026-1297). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 4.2.0 < 4.2.16
djangoprojectdjango≥ 5.0 < 5.0.9
djangoprojectdjango5.1

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.