CVE-2026-108147
Potential memory exhaustion in MultiPartParser via base64-encoded file upload
Mitigation
- Upgrade Django to 5.2.19 or later.
Who should check
- Anyone running djangoproject Django >= 6.1, < 6.1.3; >= 6.0.4, < 6.0.10; >= 5.2.13, < 5.2.19
Vulnerability facts
- Affected
- djangoproject Django >= 6.1, < 6.1.3; >= 6.0.4, < 6.0.10; >= 5.2.13, < 5.2.19
- Fixed in
- djangoproject Django 6.1.3, djangoproject Django 6.0.10, djangoproject Django 5.2.19
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.59% chance of exploitation in 30 days (percentile 42, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
An issue was discovered in Django 6.1 before 6.1.3, 6.0.4 before 6.0.10, and 5.2.13 before 5.2.19. `django.http.multipartparser.MultiPartParser` is subject to excessive memory consumption when processing multipart file uploads with base64 `Content-Transfer-Encoding`, which could be buffered entirely in memory before being passed to upload handlers. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Ignacy Kujawa for reporting this issue.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| djangoproject Django | >= 6.1, < 6.1.3; >= 6.0.4, < 6.0.10; >= 5.2.13, < 5.2.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-108147. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-108147.md Affected: djangoproject Django >= 6.1, < 6.1.3; >= 6.0.4, < 6.0.10; >= 5.2.13, < 5.2.19 Fixed in: djangoproject Django 6.1.3, djangoproject Django 6.0.10, djangoproject Django 5.2.19 Steps: 1. Search this machine and project for djangoproject Django: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/django/django/commit/5d95d9236fa4ededfb1931c60a65432385ece85f
- https://github.com/django/django/commit/8b435411f11d69a0dd41a8837654323502e6058e
- https://github.com/django/django/commit/a29ee4a55acedbe7ba0cb4d2db28c4e4d2848e02
- https://github.com/django/django/commit/4bd1f59a80adafddbd47527c66d92d6a224244d8
FAQ
Is CVE-2026-108147 being exploited?
There is no confirmed exploitation: CVE-2026-108147 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.59% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-108147?
Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-108147?
djangoproject Django >= 6.1, < 6.1.3; >= 6.0.4, < 6.0.10; >= 5.2.13, < 5.2.19.
Is there a fix for CVE-2026-108147?
Yes. Fixed in djangoproject Django 6.1.3, djangoproject Django 6.0.10, djangoproject Django 5.2.19. Upgrade Django to 5.2.19 or later.
How do I check if I'm affected by CVE-2026-108147?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.