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.

Published: 2023-05-06 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-31047 is rated Moderate Risk (64.4/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.38%). Core evidence: EPSS rose +1.22% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-31047

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.16% 1.38% +1.22%
2 2026-06-03 0.13% 0.16% +0.03%
3 2026-05-28 0.13%

Full EPSS history (21 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-31047

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2023-31047

GitHub Security Advisory for CVE-2023-31047

GHSA-r3xc-prgr-mg9p · Severity: critical · Ecosystem: pip — Django bypasses validation when using one form field to upload multiple files

OS Trackers for CVE-2023-31047

vendor priority summary link
debian not yet assigned CVE-2023-31047 not yet assigned priority: Debian including 1 source packages (python-django), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-31047
redhat medium https://access.redhat.com/security/cve/CVE-2023-31047
suse medium CVE-2023-31047 severity moderate: SUSE including 12 source package names (python-Django, python-Django1, …), 20 product×package rows across 13 product lines (HPE Helion OpenStack 8, Image SLE-Micro, … (13 product lines)): Fixed 15, Will Not Fix 5. https://www.suse.com/security/cve/CVE-2023-31047/
ubuntu low CVE-2023-31047 low priority: Ubuntu including 1 source packages (python-django), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 8. https://ubuntu.com/security/CVE-2023-31047

Affected software / configurations for CVE-2023-31047

Vendor Product Version Raw CPE
djangoproject django >= 3.2, < 3.2.19 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
djangoproject django >= 4.0, < 4.1.9 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
djangoproject django 4.2 cpe:2.3:a:djangoproject:django:4.2:-:*:*:*:*:*:*
djangoproject django 4.2 cpe:2.3:a:djangoproject:django:4.2:b1:*:*:*:*:*:*
djangoproject django 4.2 cpe:2.3:a:djangoproject:django:4.2:rc1:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

References for CVE-2023-31047

cvelogic Threat Intelligence