Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-5766— Potential denial-of-service vulnerability in ASGI requests via file upload limit bypass

Quick assessment

Affected
djangoproject Django
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 6.0.5之前版本和5.2.14之前版本存在安全漏洞,该漏洞源于ASGI请求缺少或低估Content-Length标头,可能绕过FILE_UPLOAD_MAX_MEMORY_SIZE限制,导致大文件加载到内存中并造成服务降级。

CVSS 5.3 · Medium EPSS 0.52% · P42

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 4

VendorProduct Version RangeStatus
djangoproject Django 6.0< 6.0.5 affected
6.0.5 unaffected
5.2< 5.2.14 affected
5.2.14 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-5766

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Potential denial-of-service vulnerability in ASGI requests via file upload limit bypass
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
长度参数不一致性处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Django 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 6.0.5之前版本和5.2.14之前版本存在安全漏洞,该漏洞源于ASGI请求缺少或低估Content-Length标头,可能绕过FILE_UPLOAD_MAX_MEMORY_SIZE限制,导致大文件加载到内存中并造成服务降级。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
djangoproject Django 6.0 ~ 6.0.5 -

II. Public POCs for CVE-2026-5766

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5766

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-5766 (1)

Mailing List Discussions for CVE-2026-5766 (1)

Security Blog Posts for CVE-2026-5766 (1)

Same Patch Batch · djangoproject · 2026-05-05 · 3 CVEs total

CVE-2026-6907 4.3 MEDIUM Potential exposure of private data due to incorrect handling of Vary: * in UpdateCacheMidd
CVE-2026-35192 Session fixation via public cached pages and SESSION_SAVE_EVERY_REQUEST

IV. Related Vulnerabilities

V. Comments for CVE-2026-5766

No comments yet


Leave a comment