SecurityContext

CVE-2026-5766: Django - Denial of Service

  • Cve: CVE-2026-5766
  • Name: Django - Denial of Service
  • Description: 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.
  • Impact: Attackers can cause service degradation by bypassing file upload memory limits, potentially leading to denial of service.
  • Remediation: Upgrade to Django 6.0.5, 5.2.14 or later versions.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Epss score: 0.00423
  • Epss percentile: 0.37101
  • Assignee: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
  • Published at: 2026-05-05T16:16:17Z
  • Age in days: 203
  • Modified at: 2026-10-26T19:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-5766
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-130Improper Handling of Length Parameter Inconsistency

References

Same in every row:

  • Source: nvd
UrlTags
https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisory
https://www.djangoproject.com/weblog/2026/may/05/security-releases/Vendor Advisory
https://groups.google.com/g/django-announceThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
djangoproject:django>= 6.0, < 6.0.5; >= 5.2, < 5.2.14nonvd/v1/products/djangoproject/django

Projects

RepositoryLink kindsIndexedUrl
django/djangofix, packageyes/v1/repositories/django/django

Index

  • Repositories: 225
  • Repositories high signal: 177
  • Packages: 1

Exploitation

  • Remote: yes
  • Exposed hosts: 2404431
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports