CVE-2026-5766

python3-django: An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14

CVE-2026-5766 is fixed in 2 products on 1 platform, first by python3-django 3:5.2.9-0ubuntu4.1, released May 5, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0042
36th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python-django · Debian 14 3:5.2.14-1 DEBIAN-CVE-2026-5766 May 5, 2026
python3-django · Ubuntu 22.04.1 LTS (jammy) 2:3.2.12-2ubuntu1.27 python3-django 2:3.2.12-2ubuntu1.27 May 15, 2026
python3-django · Ubuntu 24.04.5 LTS (noble) 3:4.2.11-1ubuntu1.16 python3-django 3:4.2.11-1ubuntu1.16 May 15, 2026
python3-django · Ubuntu 25.10 (questing) 3:5.2.4-1ubuntu2.5 python3-django 3:5.2.4-1ubuntu2.5 May 15, 2026
python3-django · Ubuntu 26.04.1 LTS (resolute) 3:5.2.9-0ubuntu4.1 python3-django 3:5.2.9-0ubuntu4.1 May 5, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.