Skip to main content
No exploitation reportedFix available

CVE-2023-31047

No exploitation reported by the sources we read.

  • Published2023-05-07
  • Fixed in4.2.1 · 4.1.9 · 3.2.19
  • WeaknessCWE-20 · CWE-862

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-05-0702:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-31047?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-31047?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV · NVD
Django
BranchAffectedFixed in
4.2≥ 4.2a1, < 4.2.14.2.1
4.2≥ 4.2, < 4.2.14.2.1
4.x≥ 4.0, < 4.1.94.1.9
4.x≥ 4.0.0, < 4.1.94.1.9
4.x≥ 4.0a1, < 4.1.94.1.9
3.2≥ 3.2, < 3.2.193.2.19
3.2≥ 3.2.0, < 3.2.193.2.19
3.2≥ 3.2a1, < 3.2.193.2.19
4.2= 4.2no fix published
4.2≥ 4.2.0, ≤ 4.2.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
38.x= 38no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • RHSA-2023:6818 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.14 security and bug fix update

  • RHSA-2023:5931 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.13.5 Async Security Update

Full record on NVD

Fix

  1. Update Django to 4.2.1 · 4.1.9 · 3.2.19
  2. Vendor fix Red Hat Product Security RHSA-2023:6818 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.14/html/upgrading_red_hat_satellite_to_6.14/index
  3. Vendor fix Red Hat Product Security RHSA-2023:5931 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionnone2025-01-29
  • OpenCVESSVC decisionnone—
  • CISA-ADPCVSS 3.19.82025-01-29
  • NVDCVSS 3.19.8read 2026-10-23
  • CISA-ADPweakness (CWE)CWE-8622025-01-29
  • NVDweakness (CWE)CWE-20read 2026-10-23
  • FIRST EPSSEPSS score1.4 %2026-10-23
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2023-05-07
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is 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.

Is CVE-2023-31047 actively exploited?

Active exploitation of CVE-2023-31047 has not been confirmed. Its EPSS score was 1.4% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-31047?

CVE-2023-31047 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Django? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month