{"answers":{"affected":"3 open source packages ship an affected version, including python-multipart. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-24486 in the wild and no public exploit code.","fix":"Upgrade python-multipart to 0.0.22 or later.","what":"CVE-2026-24486 is a high-severity path traversal vulnerability in Kludex python-multipart, published on 27 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-24486 and fix it if it is affected.\n\nWhat it is: CVE-2026-24486 is a high-severity path traversal vulnerability in Kludex python-multipart, published on 27 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-24486 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- python-multipart (PyPI): affected all versions; fixed in 0.0.22\n- python-multipart (PyPI): affected all versions; fixed in 0.0.22\n- python-multipart (PyPI): affected all versions; fixed in 0.0.22\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-24486/ (Markdown: https://insights.sbomify.com/CVE-2026-24486/index.md)","id":"CVE-2026-24486","markdown":"https://insights.sbomify.com/CVE-2026-24486/index.md","name":"CVE-2026-24486","record":{"aliases":["CLSA-2026-1786503821","DEBIAN-CVE-2026-24486","GHSA-wp53-j4wj-2cfg","MINI-22c2-9f9f-8w32","MINI-4v6r-gr5c-j43v","MINI-5fm2-57p5-xhq9","MINI-wxr3-frx2-fjgg","MINI-xf3r-mp87-c926","OESA-2026-2276","PYSEC-2026-1852","ROOT-APP-PYPI-CVE-2026-24486","SUSE-SU-2026:0307-1","SUSE-SU-2026:20188-1","UBUNTU-CVE-2026-24486","openSUSE-SU-2026:20125-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Python multipart parser","requires_auth":"none","summary":"Attackers can write files to arbitrary filesystem locations via crafted filenames when specific non-default upload options are enabled.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"python-multipart","vendor":"fastapiexpert"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["PyPI","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 15.6","openSUSE:Leap 16.0"],"exploits":{"exploitdb":1,"first_seen":"2026-04-30","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-30","kind":"exploitdb","ref":"52543","stars":null,"title":"Python-Multipart 0.0.22 - Path Traversal"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Python-Multipart has Arbitrary File Write via Non-Default Configuration","id":"CVE-2026-24486","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":7,"n_references":3,"next":{"headline":"OpenEMR has FHIR Patient Compartment Bypass in CareTeam Resource","id":"CVE-2026-24487"},"packages":[{"ecosystem":"PyPI","fixed":["0.0.22"],"introduced":["0"],"last_affected":[],"package":"python-multipart","purl":null,"source":"GHSA-wp53-j4wj-2cfg"},{"ecosystem":"PyPI","fixed":["0.0.22"],"introduced":["0"],"last_affected":[],"package":"python-multipart","purl":"pkg:pypi/python-multipart","source":"GHSA-wp53-j4wj-2cfg"},{"ecosystem":"PyPI","fixed":["0.0.22"],"introduced":["0"],"last_affected":[],"package":"python-multipart","purl":"pkg:pypi/python-multipart","source":"PYSEC-2026-1852"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["0.0.20-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-python-multipart","purl":"pkg:rpm/suse/python-python-multipart\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20188-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["0.0.20-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-python-multipart","purl":"pkg:rpm/suse/python-python-multipart\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20188-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.0.9-150600.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-python-multipart","purl":"pkg:rpm/opensuse/python-python-multipart\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0307-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["0.0.20-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-python-multipart","purl":"pkg:rpm/opensuse/python-python-multipart\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20125-1"}],"prev":{"headline":"ImageMagick: Infinite loop vulnerability when parsing a PCD file","id":"CVE-2026-24485"},"products":["python-multipart"],"published":"2026-01-27","related":[{"cvss_score":7.5,"headline":"Python-Multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service","id":"CVE-2026-53539","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":7.5,"headline":"python-multipart vulnerable to content-type header Regular expression Denial of Service","id":"CVE-2024-24762","kev_date_added":null,"published":"2024-02-05"},{"cvss_score":5.3,"headline":"Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data","id":"CVE-2026-40347","kev_date_added":null,"published":"2026-04-17"},{"cvss_score":3.7,"headline":"Python-Multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters","id":"CVE-2026-53537","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":3.7,"headline":"Python-Multipart: Semicolon treated as querystring field separator enables parameter smuggling","id":"CVE-2026-53538","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":3.7,"headline":"Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory","id":"CVE-2026-53540","kev_date_added":null,"published":"2026-06-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["Kludex"]},"summary":"Attackers can write files to arbitrary filesystem locations via crafted filenames when specific non-default upload options are enabled.","url":"https://insights.sbomify.com/CVE-2026-24486/"}