Django has Observable Timing Discrepancy
Published 3 Feb 2026 · Updated 10 Sept 2026
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
- >=6.0a1 <6.0.2
- Fixed in
- 6.0.2
pip install 'django>=6.0.2'- Affected
- >=5.2a1 <5.2.11
- Fixed in
- 5.2.11
pip install 'django>=5.2.11'- Affected
- >=4.2a1 <4.2.28
- Fixed in
- 4.2.28
pip install 'django>=4.2.28'Details
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28.
The django.contrib.auth.handlers.modwsgi.check_password() function for authentication via mod_wsgi allows remote attackers to enumerate users via a timing attack. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.
Django would like to thank Stackered for reporting this issue.
Is GHSA-2mcm-79hx-8fxw 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-2025-13473
- Linkdocs.djangoproject.com/en/dev/releases/security
- Packagegithub.com/django/django
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-42.yaml
- Linkgroups.google.com/g/django-announce
- Linkwww.djangoproject.com/weblog/2026/feb/03/security-releases
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.