Django Potential account hijack via password reset form
Published 16 Jan 2020 · Updated 20 Sept 2024
Is your project on an affected django?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <1.11.27
- Fixed in
- 1.11.27
pip install 'django>=1.11.27'- Affected
- >=2.0 <2.2.9
- Fixed in
- 2.2.9
pip install 'django>=2.2.9'- Affected
- >=3.0 <3.0.1
- Fixed in
- 3.0.1
pip install 'django>=3.0.1'Details
Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. A suitably crafted email address (that is equal to an existing user's email address after case transformation of Unicode characters) would allow an attacker to be sent a password reset token for the matched user account. (One mitigation in the new releases is to send password reset tokens only to the registered user email address.)
Is GHSA-vfq6-hq5r-27r6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected django, and gives you the command that fixes it.
More advisories for django
- HighCVE-2026-15307Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing · 4 Aug 2026
- MediumCVE-2026-15830Django GeoDjango vulnerable to denial of service through deeply nested geometry collections · 4 Aug 2026
- MediumCVE-2026-53878Django: DomainNameValidator permits newline characters that may enable HTTP header injection · 7 Jul 2026
- MediumCVE-2026-53877 Django: GDALRaster may over-read heap memory when constructed from bytes · 7 Jul 2026
- LowCVE-2026-48588Django: cache middleware may expose private responses when unrelated request cookies are present · 7 Jul 2026
- LowCVE-2026-8404Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling · 3 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-19844
- Linkgithub.com/django/django/commit/302a4ff1e8b1c798aab97673909c7a3dfda42c26
- Linkgithub.com/django/django/commit/4d334bea06cac63dc1272abcec545b85136cca0e
- Linkgithub.com/django/django/commit/5b1fbcef7a8bec991ebe7b2a18b5d5a95d72cb70
- Linkgithub.com/django/django/commit/f4cff43bf921fcea6a29b726eb66767f67753fa2
- Linkwww.djangoproject.com/weblog/2019/dec/18/security-releases
- Linkwww.debian.org/security/2020/dsa-4598
- Linkusn.ubuntu.com/4224-1
- Linksecurity.netapp.com/advisory/ntap-20200110-0003
- Linksecurity.gentoo.org/glsa/202004-17
- Linkseclists.org/bugtraq/2020/Jan/9
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HCM2DPUI7TOZWN4A6JFQFUVQ2XGE7GUD
- Linkgroups.google.com/forum/#!topic/django-announce/3oaB2rVH3a0
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-16.yaml
- Packagegithub.com/django/django
- Advisorygithub.com/advisories/GHSA-vfq6-hq5r-27r6
- Linkdocs.djangoproject.com/en/dev/releases/security
- Linkpacketstormsecurity.com/files/155872/Django-Account-Hijack.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.