# CVE-2020-24583: Django Incorrect Default Permissions

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.30%, higher than 88% of CVEs (2026-12-02)
- Published: 2020-09-01T12:33:13.000Z
- Modified: 2026-09-08T08:46:24.883Z
- Also known as: GHSA-m6gj-h9gm-gw44, BIT-DJANGO-2020-24583, PYSEC-2020-33
- Weaknesses: CWE-276
- Assigned by: mitre

## Description

An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when Python 3.7+ is used). FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files. It was also not applied to intermediate-level collected static directories when using the collectstatic management command.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- django (PyPI): from 2.2a1 before 2.2.16; from 3.0a1 before 3.0.10; from 3.1a1 before 3.1.1; from 2.2 before 2.2.16; from 3.0 before 3.0.10; from 3.1 before 3.1.1
- djangoproject django: from 2.2 before 2.2.16; from 3.0 before 3.0.10; from 3.1 before 3.1.1
- canonical ubuntu_linux: 20.04
- fedoraproject fedora: 31; 32; 33
- oracle zfs_storage_appliance_kit: 8.8
- django (Bitnami): from 2.2.0 before 2.2.16; from 3.0.0 before 3.0.10; from 3.1.0 before 3.1.1

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, patch, vendor-advisory, web)
- <https://usn.ubuntu.com/4479-1/> (advisory, third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2021.html> (advisory, patch, third-party-advisory, web)
- <https://groups.google.com/forum/#%21topic/django-announce/zFCMdgUnutU> (web)
- <https://groups.google.com/forum/#%21topic/django-announce/Gdqn58RqIDM> (web)
- <https://www.openwall.com/lists/oss-security/2020/09/01/2> (advisory, mailing-list, patch, third-party-advisory, web)
- <https://www.djangoproject.com/weblog/2020/sep/01/security-releases/> (advisory, article, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20200918-0004/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-24583> (advisory, web)
- <https://github.com/django/django/commit/8d7271578d7b153435b40fe40236ebec43cbf1b9> (web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/advisories/GHSA-m6gj-h9gm-gw44> (advisory)
- <https://github.com/django/django> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-33.yaml> (web)
- <https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM> (web)
- <https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI> (web)
- <https://security.netapp.com/advisory/ntap-20200918-0004> (web)
- <https://usn.ubuntu.com/4479-1> (web)
- <https://www.djangoproject.com/weblog/2020/sep/01/security-releases> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/> (web)

## Sources

- CVE List: [CVE-2020-24583](https://www.cve.org/CVERecord?id=CVE-2020-24583), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-m6gj-h9gm-gw44](https://github.com/advisories/GHSA-m6gj-h9gm-gw44), CC-BY-4.0, modified 2024-09-18
- NVD: [CVE-2020-24583](https://nvd.nist.gov/vuln/detail/CVE-2020-24583), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-33](https://osv.dev/vulnerability/PYSEC-2020-33), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-DJANGO-2020-24583](https://osv.dev/vulnerability/BIT-DJANGO-2020-24583), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-24583 · Whole record: https://cve.day/CVE-2020-24583.json · Rebuilt by cve.day 2026-11-25T22:57:54.453Z
