# CVE-2023-31047: python-django: 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...

CVE-2023-31047 is fixed in 3 products on 1 platform, first by python-django 1:1.11.11-1ubuntu1.21, released May 3, 2023. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2023-31047
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0139
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 3, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-django Debian 12.15 (bookworm) | 3:3.2.19-1 | [DEBIAN-CVE-2023-31047](https://patchblox.com/security/data/fix/linux/debian-cve-2023-31047.md) | May 7, 2023 |
| Linux | python-django Debian 13.5 (trixie) | 3:3.2.19-1 | [DEBIAN-CVE-2023-31047](https://patchblox.com/security/data/fix/linux/debian-cve-2023-31047.md) | May 7, 2023 |
| Linux | python-django Debian 14 | 3:3.2.19-1 | [DEBIAN-CVE-2023-31047](https://patchblox.com/security/data/fix/linux/debian-cve-2023-31047.md) | May 7, 2023 |
| Linux | python-django Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.21 | [python-django 1:1.11.11-1ubuntu1.21](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-django-1-1.11.11-1ubuntu1.21.md) | May 3, 2023 |
| Linux | python-django-common Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.21 | [python-django-common 1:1.11.11-1ubuntu1.21](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-django-common-1-1.11.11-1ubuntu1.21.md) | May 3, 2023 |
| Linux | python3-django Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.21 | [python3-django 1:1.11.11-1ubuntu1.21](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-django-1-1.11.11-1ubuntu1.21.md) | May 3, 2023 |
| Linux | python3-django Ubuntu 20.04 LTS (focal) | 2:2.2.12-1ubuntu0.17 | [python3-django 2:2.2.12-1ubuntu0.17](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-django-2-2.2.12-1ubuntu0.17.md) | May 3, 2023 |
| Linux | python3-django Ubuntu 22.04.1 LTS (jammy) | 2:3.2.12-2ubuntu1.6 | [python3-django 2:3.2.12-2ubuntu1.6](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-django-2-3.2.12-2ubuntu1.6.md) | May 3, 2023 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
