Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-25673: CWE-400: Uncontrolled Resource Consumption in djangoproject Django

0
High
VulnerabilityCVE-2026-25673cvecve-2026-25673cwe-400
Published: Tue Mar 03 2026 (03/03/2026, 14:28:28 UTC)
Source: CVE Database V5
Vendor/Project: djangoproject
Product: Django

Description

An issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29. `URLField.to_python()` in Django calls `urllib.parse.urlsplit()`, which performs NFKC normalization on Windows that is disproportionately slow for certain Unicode characters, allowing a remote attacker to cause denial of service via large URL inputs containing these characters. 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 Seokchan Yoon for reporting this issue.

AI-Powered Analysis

AILast updated: 03/03/2026, 15:03:41 UTC

Technical Analysis

CVE-2026-25673 is a vulnerability classified under CWE-400 (Uncontrolled Resource Consumption) affecting the Django web framework, specifically versions 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29. The issue stems from the URLField.to_python() method, which internally calls Python's urllib.parse.urlsplit() function. On Windows platforms, urlsplit() performs Unicode Normalization Form KC (NFKC) normalization on URL inputs. This normalization process is disproportionately slow when processing certain Unicode characters, leading to excessive CPU consumption. An attacker can exploit this by crafting large URLs containing these specific Unicode characters and sending them to a Django application running on Windows. This results in a denial of service (DoS) condition by exhausting server resources, potentially making the application unresponsive. Earlier unsupported Django versions (such as 5.0.x, 4.1.x, and 3.2.x) have not been evaluated but may also be vulnerable. No CVSS score has been assigned yet, and no known exploits have been reported in the wild. The vulnerability was responsibly disclosed by Seokchan Yoon. Since the flaw is triggered remotely without authentication or user interaction, it poses a significant risk to affected deployments, especially those exposed to untrusted internet traffic. The patch status indicates fixes are available in the specified versions, but no direct patch links were provided in the source data.

Potential Impact

The primary impact of CVE-2026-25673 is a denial of service (DoS) condition caused by excessive CPU consumption during URL parsing on Windows servers running vulnerable Django versions. This can lead to application unavailability, degraded performance, and potential cascading failures in dependent services. Organizations relying on Django for web applications, APIs, or backend services may experience service interruptions, affecting user experience and business operations. The vulnerability can be exploited remotely without authentication, increasing the attack surface. Since the issue exploits Unicode normalization inefficiencies, automated attack tools could easily generate malicious payloads, potentially leading to large-scale DoS attacks. This risk is heightened for organizations with public-facing Django applications on Windows infrastructure. Additionally, the lack of evaluation for earlier unsupported versions means some legacy systems may unknowingly remain vulnerable. The disruption could affect industries relying heavily on Django, including technology, finance, education, and government sectors, potentially causing reputational damage and financial losses.

Mitigation Recommendations

To mitigate CVE-2026-25673, organizations should upgrade Django to the fixed versions: 6.0.3 or later, 5.2.12 or later, and 4.2.29 or later. If immediate upgrading is not feasible, implement input validation to reject unusually large URLs or those containing suspicious Unicode characters known to trigger slow normalization. Deploy rate limiting and request throttling at the web server or application firewall level to reduce the impact of potential abuse. Monitor application logs for abnormal spikes in URL parsing times or CPU usage indicative of exploitation attempts. Consider isolating Django applications behind reverse proxies that can filter or block malformed requests. For Windows deployments, evaluate alternative URL parsing methods or patch urllib.parse.urlsplit() if possible. Regularly review and update dependencies and maintain an incident response plan for DoS events. Finally, audit legacy Django versions in use and plan for upgrades or compensating controls since unsupported versions may also be vulnerable.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
DSF
Date Reserved
2026-02-04T18:27:10.657Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69a6f4b6d1a09e29cb4db075

Added to database: 3/3/2026, 2:48:22 PM

Last enriched: 3/3/2026, 3:03:41 PM

Last updated: 3/4/2026, 7:50:08 AM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses