{"cve":"CVE-2026-5766","nvd":{"published":"2026-05-05T16:16:17.740","modified":"2026-10-26T19:10:00.163","status":"Analyzed","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-130"],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://www.djangoproject.com/weblog/2026/may/05/security-releases/"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-26T19:31:02.781428341+00:00"},"epss":{"cve":"CVE-2026-5766","score":0.00423,"percentile":0.36346,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-w26r-rmm8-9c29","url":"https://osv.dev/vulnerability/GHSA-w26r-rmm8-9c29","summary":"Django has an Improper Handling of Length Parameter Inconsistency","modified":"2026-09-10T03:51:07.187650691Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=6.0 <6.0.5"],"fixed":["6.0.5"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2 <5.2.14"],"fixed":["5.2.14"]}]},{"id":"PYSEC-2026-54","url":"https://osv.dev/vulnerability/PYSEC-2026-54","summary":"","modified":"2026-06-10T17:01:11.258204769Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2 <5.2.14",">=6.0 <6.0.5"],"fixed":["5.2.14","6.0.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}