Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-5766
Published:May 05, 2026
Updated:May 16, 2026
An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. ASGI requests with a missing or understated "Content-Length" header can bypass the "FILE_UPLOAD_MAX_MEMORY_SIZE" limit, potentially loading large files into memory and causing service degradation. As a reminder, Django expects a limit to be configured at the web server level rather than solely relying on "FILE_UPLOAD_MAX_MEMORY_SIZE". 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 Kyle Agronick for reporting this issue.
Affected Packages
django (CONDA):
Affected version(s) >=6.0 <6.0.5
Fix Suggestion:
Update to version 6.0.5
django (CONDA):
Affected version(s) >=5.2 <5.2.14
Fix Suggestion:
Update to version 5.2.14
https://github.com/django/django.git (GITHUB):
Affected version(s) >=5.2 <5.2.14
Fix Suggestion:
Update to version 5.2.14
https://github.com/django/django.git (GITHUB):
Affected version(s) >=6.0 <6.0.5
Fix Suggestion:
Update to version 6.0.5
django (PYTHON):
Affected version(s) >=5.2 <5.2.14
Fix Suggestion:
Update to version 5.2.14
django (PYTHON):
Affected version(s) >=6.0 <6.0.5
Fix Suggestion:
Update to version 6.0.5
Django (PYTHON):
Affected version(s) >=6.0 <6.0.5
Fix Suggestion:
Update to version 6.0.5
Django (PYTHON):
Affected version(s) >=5.2 <5.2.14
Fix Suggestion:
Update to version 5.2.14
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Improper Handling of Length Parameter Inconsistency
EPSS
Base Score:
0.05