# CVE-2024-45231: Django allows enumeration of user e-mail addresses

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-10-08T00:00:00.000Z
- Modified: 2026-09-08T08:46:35.567Z
- Also known as: GHSA-rrqc-c2jx-6jgv, BIT-DJANGO-2024-45231, PYSEC-2026-1297
- Weaknesses: CWE-203, CWE-204
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- djangoproject django: from 5.1 before 5.1.1; from 5.0 before 5.0.9; from 4.2 before 4.2.16; from 4.2.0 before 4.2.16; 5.1
- django (PyPI): from 5.1 before 5.1.1; from 5.0 before 5.0.9; before 4.2.16
- django (Bitnami): from 4.2.0 before 4.2.16; from 5.0.0 before 5.0.9; from 5.1.0 before 5.2.5

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, vendor-advisory)
- <https://groups.google.com/forum/#%21forum/django-announce> (permissions-required, web)
- <https://www.djangoproject.com/weblog/2024/sep/03/security-releases/> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45231> (advisory, web)
- <https://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca> (fix, web)
- <https://github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2> (fix, web)
- <https://github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199> (fix, web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/django/django> (package)
- <https://www.djangoproject.com/weblog/2024/sep/03/security-releases> (web)
- <https://pypi.org/project/django> (package)
- <https://github.com/advisories/GHSA-rrqc-c2jx-6jgv> (advisory)

## Sources

- CVE List: [CVE-2024-45231](https://www.cve.org/CVERecord?id=CVE-2024-45231), CVE Terms of Use, modified 2025-03-17
- GitHub Advisory Database: [GHSA-rrqc-c2jx-6jgv](https://github.com/advisories/GHSA-rrqc-c2jx-6jgv), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-45231](https://nvd.nist.gov/vuln/detail/CVE-2024-45231), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1297](https://osv.dev/vulnerability/PYSEC-2026-1297), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-DJANGO-2024-45231](https://osv.dev/vulnerability/BIT-DJANGO-2024-45231), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-45231 · Whole record: https://cve.day/CVE-2024-45231.json · Rebuilt by cve.day 2026-11-25T22:58:46.189Z
