ADVISORIES

Vulnerability

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 may also be affected. Django would like to thank Kyle Agronick for reporting this issue.

34 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • ALPINE-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…

    CVE-2026-5766 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-5766
    CVE-2026-5766 Alpine Updated 18 November 2026
  • CGA-2jff-342m-mmr4
    CVE-2026-5766 Chainguard Updated 5 November 2026
  • CGA-48f5-fgg4-xm37
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-4r56-6322-6vc5
    CVE-2026-5766 Chainguard Updated 5 November 2026
  • CGA-547q-qj4g-wqxm
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-58vx-g7wr-2p47
    CVE-2026-5766 Chainguard Updated 5 November 2026
  • CGA-6r9m-2fp6-58pw
    CVE-2026-5766 Chainguard Updated 5 November 2026
  • CGA-87w4-x3c3-g79w
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-8mvr-g6h5-r2gm
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-cp56-83pm-w54p
    CVE-2026-5766 Chainguard Updated 5 November 2026
  • CGA-f25j-xg2g-wx82
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-f3w9-6f4p-vvjp
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-fhx6-pph5-6x62
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-g855-577q-xfj5
    CVE-2026-5766 Chainguard Updated 5 November 2026
  • CGA-gw2q-rc5c-j3vh
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-pvxj-8q2g-5jhm
    CVE-2026-5766 Chainguard Updated 5 November 2026
  • CGA-qrp5-5f4p-56v2
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-w4xg-6r39-6jm7
    CVE-2026-5766 ChainguardWolfi Updated 5 November 2026
  • CGA-x85r-8p7w-6x78
    CVE-2026-5766 Chainguard Updated 5 November 2026
  • DEBIAN-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…

    CVE-2026-5766 Debian Updated 27 October 2026
  • GHSA-w26r-rmm8-9c29

    Django has an Improper Handling of Length Parameter Inconsistency

    Moderate CVE-2026-5766 PyPI Updated 10 September 2026
  • OESA-2026-2217

    python-django security update

    Critical CVE-2026-33033CVE-2026-33034CVE-2026-35192CVE-2026-3902 openEuler Updated 18 August 2026
  • OESA-2026-2218

    python-django security update

    Critical CVE-2026-33033CVE-2026-33034CVE-2026-35192CVE-2026-3902 openEuler Updated 18 August 2026
  • OESA-2026-2219

    python-django security update

    Critical CVE-2026-33033CVE-2026-33034CVE-2026-35192CVE-2026-3902 openEuler Updated 18 August 2026
  • OESA-2026-2220

    python-django security update

    Critical CVE-2026-33033CVE-2026-33034CVE-2026-35192CVE-2026-3902 openEuler Updated 18 August 2026
  • OESA-2026-3074

    python-django security update

    Medium CVE-2026-35192CVE-2026-35193CVE-2026-48587CVE-2026-48588 openEuler Updated 18 August 2026
  • PYSEC-2026-54

    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…

    CVE-2026-5766 PyPI Updated 10 June 2026
  • UBUNTU-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…

    CVE-2026-5766 Ubuntu Updated 1 October 2026
  • USN-8232-1

    python-django vulnerabilities

    Ubuntu Updated 20 May 2026
  • openSUSE-SU-2026:10708-1

    python311-Django4-4.2.30-2.1 on GA media

    CVE-2026-35192CVE-2026-5766CVE-2026-6907 openSUSE Updated 7 May 2026
  • openSUSE-SU-2026:10709-1

    python313-Django6-6.0.5-1.1 on GA media

    CVE-2026-35192CVE-2026-5766CVE-2026-6907 openSUSE Updated 7 May 2026
  • openSUSE-SU-2026:10718-1

    python311-Django-5.2.14-1.1 on GA media

    CVE-2026-35192CVE-2026-5766CVE-2026-6907 openSUSE Updated 8 May 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References