CVE-2023-31047

python-django: Potential bypass of validation when uploading multiple files using one form field

Published May 7, 2023 CVSS 3.1 · 9.8 Critical EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3415-1 python-django security update
Debian DSA Debian DSA DSA-5465-1 python-django security update
EUVD EUVD EUVD-2023-0071 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.
Github GHSA Github GHSA GHSA-r3xc-prgr-mg9p Django bypasses validation when using one form field to upload multiple files
Ubuntu USN Ubuntu USN USN-6054-1 Django vulnerability
Ubuntu USN Ubuntu USN USN-6054-2 Django vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-862
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jan 29, 2025, 3:51 PM
Reserved
Apr 24, 2023, 12:00 AM
Status
Modified
Published
May 7, 2023, 2:15 AM
Modified
Jun 17, 2026, 5:56 AM
Severity
Moderate
Public date
May 3, 2023, 12:00 AM