{"id":"CVE-2026-5766","published":"2026-05-05T14:49:19Z","modified":"2026-05-06T15:25:38Z","title":"Potential denial-of-service vulnerability in ASGI requests via file upload limit bypass","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14.\nASGI 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.\r\n \r\nAs a reminder, Django expects a limit to be configured at the web server level rather than solely relying on `FILE_UPLOAD_MAX_MEMORY_SIZE`.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Kyle Agronick for reporting this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.37214,"provenance":"source"},"cwes":[{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/may/05/security-releases/","tags":["vendor-advisory"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":7.44},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.5",">= 5.2, < 5.2.14"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.5","5.2.14"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-05T17:03:20.935294Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=6.0, <6.0.5",">=5.2, <5.2.14"],"patched":["6.0.5","5.2.14"],"from":["GHSA-w26r-rmm8-9c29","PYSEC-2026-54"],"provenance":"source"}],"summary":{"text":"A denial-of-service flaw in Django's ASGI request handling, where requests with a missing or understated Content-Length header can slip past the FILE_UPLOAD_MAX_MEMORY_SIZE limit. An unauthenticated remote attacker with network access can exploit it without user interaction, by sending such requests to load large files into memory and degrade service availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:31Z"},"euvd":{"id":"EUVD-2026-27381","exploited":false,"provenance":"source"}}