CVE-2026-73228: CWE-400: Uncontrolled Resource Consumption in encode django-rest-framework
Django REST Framework versions prior to 3.17.2 have a vulnerability where request data parsing bypasses Django's DATA_UPLOAD_MAX_MEMORY_SIZE protection. This allows oversized request bodies to consume excessive memory and CPU resources, leading to uncontrolled resource consumption. The issue is fixed in version 3.17.2.
AI Analysis
Technical Summary
Django REST Framework's request.data parsing in rest_framework/request.py Request._parse() passes the underlying HttpRequest stream directly to JSONParser and FormParser for application/json and application/x-www-form-urlencoded content types. This bypasses Django's DATA_UPLOAD_MAX_MEMORY_SIZE protection, enabling attackers to send oversized request bodies that consume additional memory and CPU resources. This vulnerability is identified as CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). The flaw affects all versions prior to 3.17.2 and is resolved in 3.17.2.
Potential Impact
The vulnerability allows an attacker to send oversized HTTP request bodies that bypass memory size limits, potentially causing excessive memory and CPU consumption on the server. This can degrade service availability or lead to denial of service conditions. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade Django REST Framework to version 3.17.2 or later, where this issue is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly stated but the fix is included in version 3.17.2.
CVE-2026-73228: CWE-400: Uncontrolled Resource Consumption in encode django-rest-framework
Description
Django REST Framework versions prior to 3.17.2 have a vulnerability where request data parsing bypasses Django's DATA_UPLOAD_MAX_MEMORY_SIZE protection. This allows oversized request bodies to consume excessive memory and CPU resources, leading to uncontrolled resource consumption. The issue is fixed in version 3.17.2.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Django REST Framework's request.data parsing in rest_framework/request.py Request._parse() passes the underlying HttpRequest stream directly to JSONParser and FormParser for application/json and application/x-www-form-urlencoded content types. This bypasses Django's DATA_UPLOAD_MAX_MEMORY_SIZE protection, enabling attackers to send oversized request bodies that consume additional memory and CPU resources. This vulnerability is identified as CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). The flaw affects all versions prior to 3.17.2 and is resolved in 3.17.2.
Potential Impact
The vulnerability allows an attacker to send oversized HTTP request bodies that bypass memory size limits, potentially causing excessive memory and CPU consumption on the server. This can degrade service availability or lead to denial of service conditions. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade Django REST Framework to version 3.17.2 or later, where this issue is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly stated but the fix is included in version 3.17.2.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-11T14:41:20.122Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7b7426bf8831d539468007
Added to database: 08/11/2026, 19:12:38 UTC
Last enriched: 08/11/2026, 19:27:14 UTC
Last updated: 08/11/2026, 22:14:31 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.