{"id":"CVE-2023-31047","aliases":["CVE-2023-31047","GHSA-r3xc-prgr-mg9p","BIT-DJANGO-2023-31047","PYSEC-2023-61"],"related":[],"kind":"vulnerability","state":"published","title":"Django bypasses validation when using one form field to upload multiple files","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-05-07T00:00:00.000Z","modified":"2026-09-08T08:46:32.844Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-20","CWE-862"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.2a1","status":"affected","fixed":"3.2.19"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0a1","status":"affected","fixed":"4.1.9"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2a1","status":"affected","fixed":"4.2.1"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.2","fixed":"3.2.19"},{"status":"affected","introduced":"4.0","fixed":"4.1.9"},{"status":"affected","version":"4.2"},{"status":"affected","version":"4.2"},{"status":"affected","version":"4.2"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"3.2","status":"affected","fixed":"3.2.19"},{"type":"ecosystem","introduced":"4.0","status":"affected","fixed":"4.1.9"},{"type":"ecosystem","introduced":"4.2","status":"affected","fixed":"4.2.1"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"3.2.0","status":"affected","fixed":"3.2.19"},{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.1.9"},{"type":"semver","introduced":"4.2.0","status":"affected","lastAffected":"4.2.0"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://docs.djangoproject.com/en/4.2/releases/security/","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2023/may/03/security-releases/","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A45VKTUVQ2BN6D5ZLZGCM774R6QGFOHW/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DNEHD6N435OE2XUFGDAAVAXSYWLCUBFD/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20230609-0008/","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31047","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/django/django/commit/21b1b1fc03e5f9e9f8c977ee6e35618dd3b353dd","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/e7c3a2ccc3a562328600be05068ed9149e12ce64","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/eed53d0011622e70b936e203005f0e6f4ac48965","tags":["web"],"sources":["ghsa"]},{"url":"https://docs.djangoproject.com/en/4.2/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-61.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://groups.google.com/forum/#!forum/django-announce","tags":["article","web"],"sources":["ghsa","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A45VKTUVQ2BN6D5ZLZGCM774R6QGFOHW","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNEHD6N435OE2XUFGDAAVAXSYWLCUBFD","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20230609-0008","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2023/may/03/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A45VKTUVQ2BN6D5ZLZGCM774R6QGFOHW/","tags":["report","web"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-r3xc-prgr-mg9p","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-01-29T15:49:48.792Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-31047","url":"https://www.cve.org/CVERecord?id=CVE-2023-31047","licence":"CVE Terms of Use","modified":"2025-01-29T15:51:24.644Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r3xc-prgr-mg9p","url":"https://github.com/advisories/GHSA-r3xc-prgr-mg9p","licence":"CC-BY-4.0","modified":"2025-02-21T05:31:37.748Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-31047","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31047","licence":"Public domain","modified":"2026-06-17T05:56:10.720Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-61","url":"https://osv.dev/vulnerability/PYSEC-2023-61","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:52.468Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2023-31047","url":"https://osv.dev/vulnerability/BIT-DJANGO-2023-31047","licence":"Apache-2.0","modified":"2026-09-08T08:46:32.844Z"}],"updatedAt":"2026-11-25T22:58:23.933Z","epss":{"score":0.01391,"percentile":0.73139,"date":"2026-12-01T12:00:22.000Z"}}