{"id":"CVE-2026-24486","summary":"Python-Multipart has Arbitrary File Write via Non-Default Configuration","details":"Python-Multipart is a streaming multipart parser for Python. Prior to version 0.0.22, a Path Traversal vulnerability exists when using non-default configuration options `UPLOAD_DIR` and `UPLOAD_KEEP_FILENAME=True`. An attacker can write uploaded files to arbitrary locations on the filesystem by crafting a malicious filename. Users should upgrade to version 0.0.22 to receive a patch or, as a workaround, avoid using `UPLOAD_KEEP_FILENAME=True` in project configurations.","aliases":["GHSA-wp53-j4wj-2cfg","PYSEC-2026-1852"],"modified":"2026-08-12T03:30:37.531274985Z","published":"2026-01-27T00:34:06.229Z","related":["SUSE-SU-2026:0307-1","SUSE-SU-2026:20188-1","openSUSE-SU-2026:20125-1"],"database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24486.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/Kludex/python-multipart/releases/tag/0.0.22"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24486.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:1504"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:3461"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:3462"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:3713"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:3782"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:3960"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:44696"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:51357"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-24486"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24486.json"},{"type":"ADVISORY","url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24486"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2433132"},{"type":"FIX","url":"https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kludex/python-multipart","events":[{"introduced":"0"},{"fixed":"bea7bbb2904da8ce39123a845088dc72464eaddf"},{"fixed":"9433f4bbc9652bdde82bbe380984e32f8cfc89c4"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.0.22"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*"}}],"versions":["0.0.21","0.0.20","0.0.19","0.0.18","0.0.17","0.0.16","0.0.15","0.0.14","0.0.13","0.0.12","0.0.11","0.0.10","0.0.9","0.0.8","0.0.7","0.0.6","0.0.5","0.0.4","0.0.2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-24486.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"}]}