Skip to content
Fencer Vulns
medium 5.3

CVE-2026-5766 json

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

published 2026-05-05 6 mo ago modified 2026-10-26 13 d ago also BIT-django-2026-5766 , EUVD-2026-27381 , GHSA-w26r-rmm8-9c29 , PYSEC-2026-54

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 36%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi django 5.2.14, 6.0.5
  • bitnami django 5.2.14, 6.0.5
  • djangoproject Django 5.2.14, 6.0.5
  • python-django Debian 14 3:5.2.14-1

debian advisories DEBIAN-CVE-2026-5766

  • python-django Ubuntu 22.04 LTS 2:3.2.12-2ubuntu1.27
  • python-django Ubuntu 24.04 LTS 3:4.2.11-1ubuntu1.16
  • python-django Ubuntu 25.10 3:5.2.4-1ubuntu2.5
  • python-django Ubuntu 26.04 LTS 3:5.2.9-0ubuntu4.1

ubuntu advisories UBUNTU-CVE-2026-5766

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-Django5 openSUSE Tumbleweed 5.2.16-1.1
  • python-Django openSUSE Tumbleweed 5.2.14-1.1
  • python-Django4 openSUSE Tumbleweed 4.2.30-2.1
  • python-Django6 openSUSE Tumbleweed 6.0.5-1.1

opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:10718-1openSUSE-SU-2026:10708-1openSUSE-SU-2026:10709-1

  • py3-django Alpine 3.24 5.2.14-r0

alpine advisories ALPINE-CVE-2026-5766

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-5766 updated cvss 5.3

django: Django: Service degradation via understated Content-Length header in ASGI requests

  • Red Hat Ansible Automation Platform 2 python-django, automation-controller, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform-26/gateway-rhel9, ansible-automation-platform-27/gateway-rhel9, +12 more Red Hat Discovery 2 discovery/discovery-server-rhel9 Red Hat OpenStack Platform 16.2 python-django20, python3-django20, python-django20-bash-completion Red Hat OpenStack Platform 17.1 python-django, python3-django Red Hat OpenStack Platform 18.0 python-django Red Hat Satellite 6 python-django, python2-django, python-django-bash-completion, satellite/iop-advisor-backend-rhel9
    +1 more products
    Red Hat Update Infrastructure 4 for Cloud Providers python-django
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA 4.0 6.3 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
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA 4.0 6.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
pypi django
>=6.0, <6.0.5
>=5.2, <5.2.14
6.0.5
5.2.14
bitnami django
>=5.2.0, <5.2.14
>=6.0.0, <6.0.5
5.2.14
6.0.5

Affected products

  • djangoproject Django

Classification

Weakness
  • CWE-130 Improper Handling of Length Parameter Inconsistency
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.