CVE-2025-13473: Timing-based user enumeration in Django mod_wsgi authentication
- Vendor
- Djangoproject
CVE-2025-13473 is a low-severity information disclosure issue in Django's mod_wsgi authentication path. The vulnerability is in django.contrib.auth.handlers.modwsgi.check_password(), where observable timing differences during authentication can allow a remote attacker to distinguish valid from invalid usernames. Affected versions are Django 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. The advisory also notes that earlier unsupported series, including 5.0.x, 4.1.x, and 3.2.x, were not evaluated and may also be affected. The issue enables username enumeration through a timing side channel rather than direct authentication bypass.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to enumerate valid usernames by measuring authentication response timing differences in deployments using the vulnerable mod_wsgi authentication handler. This can improve the efficiency of subsequent password-guessing, credential-stuffing, or targeted intrusion attempts by confirming which accounts exist, but the provided information does not indicate direct code execution, privilege escalation, or authentication bypass from this flaw alone.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, reduce exposure of mod_wsgi-based authentication endpoints by restricting access via network controls or IP allowlists, requiring upstream authentication where feasible, or disabling use of the mod_wsgi authentication path. Add monitoring and rate limiting to make repeated timing measurements more difficult and to detect enumeration attempts. These are temporary risk-reduction measures; vendor guidance is to upgrade.
Remediation
Patch, then assume compromise.
Upgrade Django to a fixed version: 6.0.2 or later, 5.2.11 or later, or 4.2.28 or later. For environments on unsupported Django branches such as 5.0.x, 4.1.x, or 3.2.x, the available information indicates they were not evaluated and may also be affected; migration to a supported fixed release is the appropriate remediation. Debian also issued package updates for affected distributions.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-13473 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-13473 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-13473?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2025-13473.
- Is there a patch for CVE-2025-13473?
- Upgrade Django to a fixed version: 6.0.2 or later, 5.2.11 or later, or 4.2.28 or later. For environments on unsupported Django branches such as 5.0.x, 4.1.x, or 3.2.x, the available information indicates they were not evaluated and may also be affected; migration to a supported fixed release is the appropriate remediation.
- What products are affected by CVE-2025-13473?
- Djangoproject Django.
- How severe is CVE-2025-13473?
- CVE-2025-13473 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 0.80% (58th percentile) as of Sep 25, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.