{"id":"CVE-2026-24486","published":"2026-01-27T00:34:06Z","modified":"2026-09-16T12:04:19Z","title":"Python-Multipart has Arbitrary File Write via Non-Default Configuration","vendor":"Kludex","product":"python-multipart","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02206,"percentile":0.82998,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4","tags":["x_refsource_MISC"]},{"url":"https://github.com/Kludex/python-multipart/releases/tag/0.0.22","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-24486","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2433132","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24486.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3461","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3462","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3960","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42644","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3782","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3713","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:44696","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:1504","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:51357","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":27.6,"factors":[{"name":"EPSS percentile","points":16.6},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.02}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-04-30"},"first":{"date":"2026-04-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52543"},"provenance":"source"},"vendorSlug":"kludex","affectedVersions":[{"vendor":"Kludex","product":"python-multipart","versions":["< 0.0.22"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T20:50:56.753228Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"python-multipart","vulnerableRanges":["<0.0.22"],"patched":["0.0.22"],"from":["GHSA-wp53-j4wj-2cfg","PYSEC-2026-1852"],"provenance":"source"}],"summary":{"text":"The python-multipart streaming multipart parser for Python contains a path traversal flaw, tracked as an improper limitation of a pathname to a restricted directory, that affects configurations using the non-default options UPLOAD_DIR and UPLOAD_KEEP_FILENAME=True. An unauthenticated remote attacker, with no user interaction required, can craft a malicious filename in an upload to write the uploaded file to an arbitrary location on the filesystem, provided the application runs with those non-default settings.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:19:56Z"},"euvd":{"id":"EUVD-2026-4754","exploited":false,"provenance":"source"},"exploits":[{"id":52543,"url":"https://www.exploit-db.com/exploits/52543","title":"Python-Multipart 0.0.22 - Path Traversal","date":"2026-04-30","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-kludex-python-multipart-cve-2024-53981","parents":[{"from":"CVE-2024-53981","to":"CVE-2026-24486","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:python-multipart","fromFixed":"0.0.18","toFixed":"0.0.22","daysApart":421},{"kind":"same-code","provenance":"machine","files":["python_multipart/multipart.py"],"commits":["https://github.com/Kludex/python-multipart/commit/c4fe4d3cebc08c660e57dd709af1ffa7059b3177","https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-24762","published":"2024-02-05","fixed":"0.0.7","kev":false},{"cve":"CVE-2024-53981","published":"2024-12-02","fixed":"0.0.18","kev":false},{"cve":"CVE-2026-24486","published":"2026-01-27","fixed":"0.0.22","kev":false},{"cve":"CVE-2026-40347","published":"2026-04-17","fixed":"0.0.26","kev":false,"link":{"from":"CVE-2026-24486","to":"CVE-2026-40347","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:python-multipart","fromFixed":"0.0.22","toFixed":"0.0.26","daysApart":80}]}},{"cve":"CVE-2026-42561","published":"2026-05-13","fixed":"0.0.27","kev":false},{"cve":"CVE-2026-53537","published":"2026-06-22","fixed":"0.0.30","kev":false}],"package":"PyPI:python-multipart"}}