High severity · published Jan 27, 2026
CVE-2026-24486
Python-Multipart has Arbitrary File Write via Non-Default Configuration
7.5
CVSS
2.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.2% · higher than 82% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
python-multipart · Kludex
< 0.0.22 · source: vendor, NVD
LC
Lightspeed Core · Red Hat
All versions, or not specified · source: CISA
OL
OpenShift Lightspeed · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat AI Inference Server · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat AI Inference Server 3.2 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.6 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux AI (RHEL AI) 3 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat OpenShift AI (RHOAI) · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat OpenShift AI 2.25 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat OpenShift AI 3.3 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Satellite 6 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-24486
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-24486
Patch
https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4
Product
https://github.com/Kludex/python-multipart/releases/tag/0.0.22
Exploit
https://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:10184
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:1504
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:19712
More from python-multipart
7.5
CVE-2026-53539
Python-Multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
7.5
CVE-2026-42561
Python-Multipart: Denial of Service via unbounded multipart part headers
5.3
CVE-2026-53537
Python-Multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
5.3
CVE-2026-40347
Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data
3.7
CVE-2026-53540
Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory
