Feed
5.3MEDIUM

CVE-2026-5766Django has an Improper Handling of Length Parameter Inconsistency

A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.5%
percentile 37%
Priority
23/100 low
how it is computed
Fix
Named by a source
CVE published 5 May 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.5% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 6.0, < 6.0.5Fixed in6.0.5OSV (PYSEC-2026-54)
    • Affected>= 5.2, < 5.2.14Fixed in5.2.14OSV (PYSEC-2026-54)
  • djangoproject django product:djangoproject/django

    • Affected>= 6.0, < 6.0.5Affected range ends before6.0.5as published by CNA (CVE List)
    • Affected>= 5.2, < 5.2.14Affected range ends before5.2.14as published by CNA (CVE List)
    • Affected>= 5.2, < 5.2.14Affected range ends before5.2.14as published by CPE data (via the NVD API)
    • Affected>= 6.0, < 6.0.5Affected range ends before6.0.5as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
5.3 MEDIUM (version 3.1)
Score from
CNA (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-130
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
6a34fbeb-21d4-45e7-8e0a-62b95bc12c92

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 5 May 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 48 min ago · osv 48 min ago · nvd 47 min ago · epss 47 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2026-5766, GHSA-w26r-rmm8-9c29, PYSEC-2026-54