6.3

CVE-2026-5766: Potential denial-of-service vulnerability in ASGI requests via file upload limit bypass

Analyzed
AliasesGHSA-w26r-rmm8-9c29BIT-django-2026-5766PYSEC-2026-54
Published 05-05-2026Last modified 06-05-2026

Vulnerability summary

CVE-2026-5766 is a medium (CVSS 6.3) vulnerability in djangoproject django. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 39.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.3/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.44%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 6

Timeline

  1. 05-05-2026
    PublishedVulnerability first disclosed.
  2. 06-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

11 scores · 8 sources · 2 versions

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.42% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard7 products
  • authentik-2025.12< 2025.12.4-r9
  • authentik-2026.2< 2026.2.1-r9
  • authentik-fips-2025.12< 2025.12.4-r7
  • authentik-fips-2026.2< 2026.2.1-r7
  • py3-django< 6.0.5-r0
Wolfi3 products
  • py3-django< 6.0.5-r0
  • py3.12-django< 6.0.5-r0
  • py3.13-django< 6.0.5-r0
Alpine1 product
  • py3-django< 5.2.14-r0
Debian1 product
  • python-djangoAll versions (No fix recorded) | < 3:5.2.14-1
Djangoproject1 product
  • django≥ 5.2, < 5.2.14 | ≥ 6.0, < 6.0.5
PyPI1 product
  • django≥ 5.2, < 5.2.14 | ≥ 6.0, < 6.0.5
Ubuntu1 product
  • python-djangoAll versions (No fix recorded) | < 2:3.2.12-2ubuntu1.27 | < 3:4.2.11-1ubuntu1.16 | < 3:5.2.4-1ubuntu2.5 | < 3:5.2.9-0ubuntu4.1

7 vendors · 15 products

References

17 links
Show all 17 references