CVE Explorer
CVE-2026-5766
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cvss · 2 assertions
{"metric":{"baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/metrics/2/cvssV4_0
{"metric":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/metrics/1/cvssV3_1
Affected products and versions
1 source assertion{"collectionURL":"https://pypi.org/project/Django/","defaultStatus":"unaffected","packageName":"django","product":"Django","repo":"https://github.com/django/django/","vendor":"djangoproject","versions":[{"lessThan":"6.0.5","status":"affected","version":"6.0","versionType":"python"},{"status":"unaffected","version":"6.0.5","versionType":"python"},{"lessThan":"5.2.14","status":"affected","version":"5.2","versionType":"python"},{"status":"unaffected","version":"5.2.14","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/affected/0
Provider-owned CVSS observations
2 source assertions{"metric":{"baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/metrics/2/cvssV4_0
{"metric":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/metrics/1/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-130","description":"CWE-130: Improper Handling of Length Parameter Inconsistency","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"Django security archive","tags":["vendor-advisory"],"url":"https://docs.djangoproject.com/en/dev/releases/security/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/references/0
{"name":"Django releases announcements","tags":["mailing-list"],"url":"https://groups.google.com/g/django-announce"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/references/1
{"name":"Django security releases issued: 6.0.5 and 5.2.14","tags":["vendor-advisory"],"url":"https://www.djangoproject.com/weblog/2026/may/05/security-releases/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f3d3c988dc0f801972275da187811051cec9844b0d143aa8c3a6853851009ef5 · sha256:ff713f949d374e52… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.