ADVISORIES

Vulnerability

CVE-2023-31047

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.

18 advisories report this vulnerability, across 6 ecosystems.

Advisories in PyPI

  • GHSA-r3xc-prgr-mg9p

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

    Critical CVE-2023-31047 PyPI Updated 21 February 2025
  • PYSEC-2023-61

    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…

    CVE-2023-31047 PyPI Updated 10 June 2026

References