CVE-2026-5766
Last modified
CVE-2026-5766 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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.. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 5.2, < 5.2.14 |
| Djangoproject | Django | >= 6.0, < 6.0.5 |
References
- https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisory
- https://groups.google.com/g/django-announceThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-5766?
How severe is CVE-2026-5766?
How do I fix CVE-2026-5766?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-57654Affiliate Broken Access Control in Affiliates Manager <= 2.9…6.5
- CVE-2026-57655Unauthenticated Cross Site Request Forgery (CSRF) in Child T…8.2
- CVE-2026-57656Author Cross Site Scripting (XSS) in Hester Core <= 1.1.8 ve…5.9
- CVE-2026-57657Unauthenticated Cross Site Request Forgery (CSRF) in Gmail S…4.3
- CVE-2026-57658Administrator Arbitrary File Upload in TemplateSpare <= 4.2.…9.1
- CVE-2026-57659Unauthenticated Cross Site Request Forgery (CSRF) in Paid Me…8.8
- CVE-2026-57660Unauthenticated Broken Access Control in Booking and Rental …5.3
- CVE-2026-57661Subscriber Broken Access Control in WPComplete <= 2.9.5.5 ve…5.4
- CVE-2026-57662Contributor SQL Injection in Contest Gallery <= 30.0.0 versi…8.5
- CVE-2026-57663Contributor SQL Injection in Recipe Maker For Your Food Blog…8.5
- CVE-2026-57664Unauthenticated Sensitive Data Exposure in Bopo – WooCommerc…4.3
- CVE-2026-57665Unauthenticated Insecure Direct Object References (IDOR) in …5.3
Are you affected by CVE-2026-5766?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
