CVE-2026-5766
published medium CVSS 4.0 · 6.3Potential denial-of-service vulnerability in ASGI requests via file upload limit bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| djangoproject | — | djangoDjango · 6.0 to < 6.0.5 (affected · python) · 6.0.5 (unaffected · python) · 5.2 to < 5.2.14 (affected · python) · 5.2.14 (unaffected · python) · Other versions: unaffected | Version-specific | Not stated | DSF |
| Alpine Linux | edge | py3-django | Fixed | 5.2.14-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP7 | python311-Djangonoarch | Advisory build | 4.2.11-150600.3.56.1 | SUSE-SU-2026:1740-1 |
| Ubuntu | jammy | python-django | Advisory build | 2:3.2.12-2ubuntu1.27 | USN-8232-1 |
| Alpine Linux | v3.24 | py3-django | Fixed | 5.2.14-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Djangonoarch | Advisory build | 5.2.4-bp160.8.1 | OPENSUSE-SU-2026:20704-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Djangoaarch64 | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Djangoppc64le | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
Show 45 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Djangos390x | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Djangox86_64 | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Django4aarch64 | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Django4ppc64le | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Django4s390x | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Django4x86_64 | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangoaarch64 | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangoppc64le | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangos390x | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangox86_64 | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django4aarch64 | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django4ppc64le | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django4s390x | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django4x86_64 | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5aarch64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5ppc64le | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5s390x | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5x86_64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django6aarch64 | Advisory build | 6.0.5-1.1 | OPENSUSE-SU-2026:10709-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django6ppc64le | Advisory build | 6.0.5-1.1 | OPENSUSE-SU-2026:10709-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django6s390x | Advisory build | 6.0.5-1.1 | OPENSUSE-SU-2026:10709-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django6x86_64 | Advisory build | 6.0.5-1.1 | OPENSUSE-SU-2026:10709-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangoaarch64 | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangoppc64le | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangos390x | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangox86_64 | Advisory build | 5.2.14-1.1 | OPENSUSE-SU-2026:10718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django4aarch64 | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django4ppc64le | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django4s390x | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django4x86_64 | Advisory build | 4.2.30-2.1 | OPENSUSE-SU-2026:10708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5aarch64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5ppc64le | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5s390x | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5x86_64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django6aarch64 | Advisory build | 6.0.5-1.1 | OPENSUSE-SU-2026:10709-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django6ppc64le | Advisory build | 6.0.5-1.1 | OPENSUSE-SU-2026:10709-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django6s390x | Advisory build | 6.0.5-1.1 | OPENSUSE-SU-2026:10709-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django6x86_64 | Advisory build | 6.0.5-1.1 | OPENSUSE-SU-2026:10709-1 |
| Ubuntu | jammy | python3-django | Advisory build | 2:3.2.12-2ubuntu1.27 | USN-8232-1 |
| Ubuntu | noble | python-django | Advisory build | 3:4.2.11-1ubuntu1.16 | USN-8232-1 |
| Ubuntu | noble | python3-django | Advisory build | 3:4.2.11-1ubuntu1.16 | USN-8232-1 |
| Ubuntu | questing | python-django | Advisory build | 3:5.2.4-1ubuntu2.5 | USN-8232-1 |
| Ubuntu | questing | python3-django | Advisory build | 3:5.2.4-1ubuntu2.5 | USN-8232-1 |
| Ubuntu | resolute | python-django | Advisory build | 3:5.2.9-0ubuntu4.1 | USN-8232-1 |
| Ubuntu | resolute | python3-django | Advisory build | 3:5.2.9-0ubuntu4.1 | USN-8232-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- DSF · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | DSF · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| djangoproject | Django | 6.0 to < 6.0.5 (affected · python)6.0.5 (unaffected · python)5.2 to < 5.2.14 (affected · python)5.2.14 (unaffected · python)Default: unaffected | DSF · cna |
Weaknesses
1- CWE-130 CWE-130: Improper Handling of Length Parameter Inconsistency
References
3- Django security archive https://docs.djangoproject.com/en/dev/releases/security/
- Django releases announcements https://groups.google.com/g/django-announce
- Django security releases issued: 6.0.5 and 5.2.14 https://www.djangoproject.com/weblog/2026/may/05/security-releases/
Provider assertions
2DSF · cna
Potential denial-of-service vulnerability in ASGI requests via file upload limit bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- acba5899bff176db836b4f218c05781d67d5ba292174317486d63a5d93c61528
- Ingested
- 23 Sep 2026, 09:23:35 UTC
- Source record
- Official CVE record