CVE-2026-24486CWE-22path-traversal

CVE-2026-24486

High · published January 27, 2026

CVSS v3.1
8.6
EPSS
2%
Percentile
82.7
In the wild
Unconfirmed
What it is

⚡ Crafty filenames can spell disaster! Before version 0.0.22, Python-Multipart allows uploads to go rogue, letting attackers write files anywhere on your filesystem! 🔥 Think of it like a mischievous delivery driver who can drop packages not just at your door, but anywhere around your neighborhood, just by using the right address! An attacker could exploit this vulnerability to place malicious files in sensitive system locations, potentially leading to unauthorized access or data breaches. The consequences could be absolutely devastating for your application and your users if an attacker successfully navigates your filesystem!

Put simply

Think of it like a mischievous delivery driver who can drop packages not just at your door, but anywhere around your neighborhood, just by using the right address! This Path Traversal vulnerability results from a lack of proper validation for uploaded filenames when the configuration options `UPLOAD_KEEP_FILENAME=True` and non-default `UPLOAD_DIR` are used. It allows crafted filenames to manipulate file storage locations on the server.

What to do

An attacker could exploit this vulnerability to place malicious files in sensitive system locations, potentially leading to unauthorized access or data breaches. The consequences could be absolutely devastating for your application and your users if an attacker successfully navigates your filesystem! Upgrade to version 0.0.22 to patch this vulnerability immediately! Alternatively, if an upgrade isn't feasible right now, consider disabling the `UPLOAD_KEEP_FILENAME=True` setting in your configurations to mitigate the risk. Stay vigilant! You've got this! With these steps, you'll be on your way to securing your application in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.02239 · 82.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-01-27T06:16Z
Affected products (1)
ProductVersionsFixed in
fastapiexpert/python-multipart< 0.0.220.0.22
References (17)
https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4 · [email protected]https://github.com/Kludex/python-multipart/releases/tag/0.0.22 · [email protected]https://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg · [email protected]https://access.redhat.com/errata/RHSA-2026:10184 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:1504 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:19712 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:3461 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:3462 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:3713 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:3782 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:3960 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:42644 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:44696 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:51357 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/security/cve/CVE-2026-24486 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://bugzilla.redhat.com/show_bug.cgi?id=2433132 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24486.json · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
EPSS history
Timeline
  • 27 JAN 00:34Z
    Python-Multipart has Arbitrary File Write via Non-Default Configuration
    cvelistv5