VDB

CVE-2026-5766

CVE-2026-5766 PUBLISHED CVSS 5.3 MEDIUM

Potential denial-of-service vulnerability in ASGI requests via file upload limit bypass

Reported by dsf · Published May 5, 2026

django is fixed in 6.0.5 and 5.2.14 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
djangoPyPI6.0.5, 5.2.14
py3-djangoAlpine5.2.14-r0
authentik-fips-2026.2Chainguard2026.2.1-r7
py3-djangoChainguard6.0.5-r0
py3-djangoWolfi6.0.5-r0
authentik-fips-2025.12Chainguard2025.12.4-r7
djangoBitnami6.0.5, 5.2.14
authentik-2026.2Chainguard2026.2.1-r9
authentik-2025.12Chainguard2025.12.4-r9
djangodjangoproject6.0.5, 5.2.14

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
djangoprojectDjango6.0, 6.0.5, 5.2
alpinepy3-django0
djangoprojectDjango6.0, 5.2.14, 5.2
chainguardauthentik-fips-2026.20
chainguardpy3-django0
wolfipy3-django0
PyPIDjango6.0.0, 5.2.0
chainguardauthentik-fips-2025.120
chainguardauthentik-2026.20
chainguardauthentik-2025.120

Timeline

  • May 5, 2026 CVE Published
  • May 5, 2026 PoC Published
  • May 5, 2026 Security Advisory (4 in total, the first dated here)
  • May 6, 2026 EPSS Score (30 in total, the first dated here)
  • May 6, 2026 CVE Updated
  • Aug 3, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-5766
vulnetix vdb fixes CVE-2026-5766

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-5766/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›