The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-13473

CVE-2025-13473: Django Auth Bypass Vulnerability

CVE-2025-13473 is an authentication bypass flaw in Django's mod_wsgi handler that enables user enumeration through timing attacks. This article covers technical details, affected versions, security impact, and mitigation.

Published: February 6, 2026

CVE-2025-13473 Overview

A timing attack vulnerability has been discovered in Django's django.contrib.auth.handlers.modwsgi.check_password() function used for authentication via mod_wsgi. This flaw allows remote attackers to enumerate valid usernames by analyzing response time differences when authentication attempts are made. The vulnerability affects Django versions 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. Earlier unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.

Critical Impact

Remote attackers can enumerate valid usernames through timing analysis of authentication responses, potentially enabling targeted credential attacks against known user accounts.

Affected Products

  • Django 6.0 before 6.0.2
  • Django 5.2 before 5.2.11
  • Django 4.2 before 4.2.28

Discovery Timeline

  • 2026-02-03 - Django releases security patches and publishes advisory
  • 2026-02-03 - CVE CVE-2025-13473 published to NVD
  • 2026-02-04 - Last updated in NVD database

Technical Details for CVE-2025-13473

Vulnerability Analysis

This vulnerability is classified as CWE-208 (Observable Timing Discrepancy), a type of side-channel attack that exploits differences in processing time to infer sensitive information. The check_password() function in Django's mod_wsgi authentication handler exhibits observable timing differences depending on whether a username exists in the system or not.

When a valid username is provided, the system performs password hashing and comparison operations which take measurably longer than the quick rejection path for non-existent users. This timing discrepancy can be measured remotely across network connections, allowing attackers to systematically probe for valid usernames without triggering typical authentication failure rate limits.

Root Cause

The root cause lies in the django.contrib.auth.handlers.modwsgi.check_password() function not implementing constant-time comparison for all authentication paths. When processing authentication requests, the function takes different code paths depending on whether the supplied username exists in the system. The branch handling non-existent users returns more quickly than the branch that must retrieve user data and perform password verification, creating a measurable timing oracle.

Attack Vector

The attack is network-based and can be executed remotely against any Django application using mod_wsgi for authentication. An attacker would systematically send authentication requests with various usernames while precisely measuring response times. Statistical analysis of these timing measurements reveals which usernames correspond to valid accounts in the system.

The attack requires network access to the target application's authentication endpoint. While the timing differences may be small, they can be amplified through repeated measurements and statistical techniques. Once valid usernames are enumerated, attackers can focus password guessing, credential stuffing, or social engineering attacks on confirmed accounts.

Detection Methods for CVE-2025-13473

Indicators of Compromise

  • Unusual patterns of authentication failures across many different usernames from the same source IP
  • High volume of authentication requests with sequential or dictionary-based username patterns
  • Network traffic analysis showing systematic timing measurement patterns against authentication endpoints
  • Authentication logs showing rapid succession of failed login attempts with varying usernames

Detection Strategies

  • Implement authentication request rate limiting and anomaly detection at the application or WAF level
  • Monitor authentication logs for patterns indicative of enumeration attempts (many unique usernames from single sources)
  • Deploy network intrusion detection rules to identify timing attack patterns
  • Use application performance monitoring to detect unusual authentication endpoint response time analysis

Monitoring Recommendations

  • Enable detailed logging for all mod_wsgi authentication events including timestamps and source IPs
  • Set up alerts for authentication failure rates exceeding normal thresholds
  • Monitor for reconnaissance activity patterns in web application firewall logs
  • Implement user behavior analytics to detect systematic probing attempts

How to Mitigate CVE-2025-13473

Immediate Actions Required

  • Upgrade Django to version 6.0.2, 5.2.11, or 4.2.28 depending on your installed series
  • Review authentication logs for evidence of prior enumeration attempts
  • Implement additional rate limiting on authentication endpoints as a defense-in-depth measure
  • Consider temporarily disabling mod_wsgi authentication in favor of alternative authentication methods if immediate patching is not possible

Patch Information

Django has released security patches addressing this vulnerability across all supported versions. The fixed versions implement constant-time comparison techniques to eliminate observable timing differences between valid and invalid username authentication paths. Upgrade to the following patched versions:

  • Django 6.0.2 for 6.0.x series
  • Django 5.2.11 for 5.2.x series
  • Django 4.2.28 for 4.2.x series

For detailed patch information and upgrade instructions, refer to the Django Security Release Notes and the Django Security Releases announcement.

Workarounds

  • Implement network-level rate limiting on authentication endpoints to slow down timing analysis attempts
  • Deploy a web application firewall (WAF) with rules to detect and block enumeration patterns
  • Use alternative authentication mechanisms that do not rely on mod_wsgi until patching is complete
  • Consider implementing CAPTCHA or other challenge-response mechanisms to prevent automated enumeration
bash
# Configuration example - Rate limiting in Apache for mod_wsgi endpoints
# Add to Apache configuration to limit authentication requests
<Location "/auth">
    # Limit requests to 10 per minute per IP
    SetEnvIf Request_URI "^/auth" rate_limit
    <RequireAll>
        Require all granted
    </RequireAll>
</Location>

# Enable mod_ratelimit if available
# LoadModule ratelimit_module modules/mod_ratelimit.so

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDjangoproject Django

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-208
  • Technical References
  • Django Announcements Group
  • Vendor Resources
  • Django Security Release Notes

  • Django Weblog Security Releases
  • Related CVEs
  • CVE-2021-44420: Django Auth Bypass Vulnerability

  • CVE-2026-25673: Djangoproject Django DoS Vulnerability

  • CVE-2026-1312: Djangoproject Django SQLi Vulnerability

  • CVE-2026-1207: Django SQLi Vulnerability in RasterField
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English