Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-13473 BIT-django-2025-13473EUVD-2025-206740GHSA-2mcm-79hx-8fxwPYSEC-2026-42

Username enumeration through timing difference in mod_wsgi authentication handler

Published Feb 3, 2026 · Updated Feb 3, 2026 · Assigned by DSF

Description

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.

Affected products

VendorProductAffectedFixed
djangoproject Django 6.0 – < 6.0.2, 5.2 – < 5.2.11, 4.2 – < 4.2.28 6.0.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 3:4.2.28-1 —
Debian 13 python-django 3:4.2.28-0+deb13u1 DSA-6150-1
Debian 12 python-django 3:3.2.25-0+deb12u2 DSA-6150-1
Debian 11 python-django 2:2.2.28-1~deb11u12 DLA-4484-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS python-django 3:5.2.9-0ubuntu3 —
Ubuntu 25.10 python-django 3:5.2.4-1ubuntu2.3 —
Ubuntu 24.04 LTS python-django 3:4.2.11-1ubuntu1.14 —
Ubuntu 22.04 LTS python-django 2:3.2.12-2ubuntu1.25 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS python-django 2:2.2.12-1ubuntu0.29+esm7 —
Ubuntu Pro 18.04 LTS python-django 1:1.11.11-1ubuntu1.21+esm14 —
Ubuntu Pro 16.04 LTS python-django 1.8.7-1ubuntu5.15+esm11 —
Ubuntu Pro 14.04 LTS python-django 1.6.11-0ubuntu1.3+esm10 —
ReleasePackageFixed inAdvisory
SLES 15 SP7 python-Django 4.2.11-150600.3.47.1 SUSE-SU-2026:0440-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 5.2.11-1.1 openSUSE-SU-2026:10160-1
openSUSE Tumbleweed python-Django4 4.2.28-1.1 openSUSE-SU-2026:10247-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0.2-1.1 openSUSE-SU-2026:10145-1
openSUSE Leap 16.0 python-Django 5.2.4-bp160.5.1 openSUSE-SU-2026:20184-1
openSUSE Leap 15.6 python-Django 4.2.11-150600.3.47.1 SUSE-SU-2026:0440-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-django 4.2.28-r0 —
Alpine v3.23 py3-django 4.2.28-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 6.0a1, < 6.0.2 6.0.2 GHSA-2mcm-79hx-8fxw
PyPI django >= 5.2a1, < 5.2.11 5.2.11 GHSA-2mcm-79hx-8fxw
PyPI django >= 4.2a1, < 4.2.28 4.2.28 GHSA-2mcm-79hx-8fxw
PyPI django >= 4.2, < 4.2.28 · >= 5.2, < 5.2.11 · >= 6.0, < 6.0.2 4.2.28, 5.2.11, 6.0.2 PYSEC-2026-42

Advisories 11

References