CVE-2020-24583
Django vulnerability analysis and mitigation

Overview

CVE-2020-24583 is a security vulnerability discovered in Django versions 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 when using Python 3.7+. The vulnerability was disclosed on September 1, 2020, and affects the file upload directory permissions functionality. The issue occurs because FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not properly applied to intermediate-level directories created during file uploads and when using the collectstatic management command (Django Security).

Technical details

The vulnerability stems from a behavioral change in Python 3.7+ where the FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not correctly applied to intermediate-level directories created during two specific operations: the file upload process and the collectstatic management command execution. This security flaw has a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NetApp Advisory).

Impact

The vulnerability could lead to disclosure of sensitive information through incorrect directory permissions. When exploited, it could potentially allow unauthorized access to uploaded files or static files due to improper permission settings on intermediate-level directories (Ubuntu Security).

Exploitability

The vulnerability is exploitable when using Python 3.7 or higher with affected Django versions. While Python 3.7 is available for some systems, environments using earlier Python versions (like Ubuntu 18.04 LTS with Python 3.6) are not affected by this vulnerability (Ubuntu Security).

Mitigation and workarounds

The issue has been fixed in Django versions 2.2.16, 3.0.10, and 3.1.1. Users should upgrade to these or later versions to address the vulnerability. Additionally, system administrators should review and manually fix permissions on existing intermediate-level directories that may have been created with incorrect permissions (Django Security).

Additional resources


SourceThis report was generated using AI

Related Django vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-15830MEDIUM6.9
  • Django logoDjango
  • django
NoYesAug 04, 2026
CVE-2026-53877MEDIUM6.3
  • Django logoDjango
  • python313-Django
NoYesJul 07, 2026
CVE-2026-53878MEDIUM5.3
  • Django logoDjango
  • python3-django-bash-completion
NoYesJul 07, 2026
CVE-2026-48588LOW2.3
  • Django logoDjango
  • openstack-horizon-2026.1
NoYesJul 07, 2026
CVE-2026-8404LOW2.3
  • Django logoDjango
  • python3-django5-doc
NoYesJun 03, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management