Critical severityNVD Advisory· Published May 7, 2023· Updated Jan 29, 2025
CVE-2023-31047
CVE-2023-31047
Description
In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was validated). However, Django's "Uploading multiple files" documentation suggested otherwise.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
DjangoPyPI | >= 3.2a1, < 3.2.19 | 3.2.19 |
DjangoPyPI | >= 4.0a1, < 4.1.9 | 4.1.9 |
DjangoPyPI | >= 4.2a1, < 4.2.1 | 4.2.1 |
Affected products
6- osv-coords6 versionspkg:bitnami/djangopkg:pypi/djangopkg:rpm/opensuse/python-Django4&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-Django6&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-Django&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/python-Django&distro=openSUSE%20Tumbleweed
>= 3.2.0, < 3.2.19+ 5 more
- (no CPE)range: >= 3.2.0, < 3.2.19
- (no CPE)range: >= 3.2a1, < 3.2.19
- (no CPE)range: < 4.2.14-1.1
- (no CPE)range: < 6.0-1.1
- (no CPE)range: < 2.0.7-150000.1.11.1
- (no CPE)range: < 4.2.1-1.1
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
18- github.com/advisories/GHSA-r3xc-prgr-mg9pghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A45VKTUVQ2BN6D5ZLZGCM774R6QGFOHW/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DNEHD6N435OE2XUFGDAAVAXSYWLCUBFD/mitrevendor-advisory
- nvd.nist.gov/vuln/detail/CVE-2023-31047ghsaADVISORY
- docs.djangoproject.com/en/4.2/releases/securityghsaWEB
- github.com/django/django/commit/21b1b1fc03e5f9e9f8c977ee6e35618dd3b353ddghsaWEB
- github.com/django/django/commit/e7c3a2ccc3a562328600be05068ed9149e12ce64ghsaWEB
- github.com/django/django/commit/eed53d0011622e70b936e203005f0e6f4ac48965ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-61.yamlghsaWEB
- groups.google.com/forum/ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A45VKTUVQ2BN6D5ZLZGCM774R6QGFOHWghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNEHD6N435OE2XUFGDAAVAXSYWLCUBFDghsaWEB
- security.netapp.com/advisory/ntap-20230609-0008ghsaWEB
- www.djangoproject.com/weblog/2023/may/03/security-releasesghsaWEB
- docs.djangoproject.com/en/4.2/releases/security/mitre
- groups.google.com/forum/mitre
- security.netapp.com/advisory/ntap-20230609-0008/mitre
- www.djangoproject.com/weblog/2023/may/03/security-releases/mitre
News mentions
0No linked articles in our index yet.