CRITICAL 9.8 PyPI

Django bypasses validation when using one form field to upload multiple files

GHSA-r3xc-prgr-mg9p · BIT-django-2023-31047 · CVE-2023-31047 · PYSEC-2023-61

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes