Advisory record · GHSA-wp53-j4wj-2cfg

Python-Multipart has Arbitrary File Write via Non-Default Configuration

CVSS 8.6 HighEPSS 0.022 · 82nd percentile

Published by the GitHub Advisory Database at 26 Jan 2026, 23:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
python-multipartPyPI<0.0.220.0.22
Identifiers
GHSA-wp53-j4wj-2cfg · CVE-2026-24486 · PYSEC-2026-1852
Weakness (CWE)
CWE-22
Published
26 Jan 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Python-Multipart versions before 0.0.22 are vulnerable to arbitrary file write when both UPLOAD_DIR and UPLOAD_KEEP_FILENAME=True are set and an uploaded file exceeds MAX_MEMORY_FILE_SIZE. An attacker who can submit a file upload can use a filename beginning with a slash to write files to arbitrary paths on the filesystem. Upgrade to python-multipart 0.0.22, or avoid setting UPLOAD_KEEP_FILENAME to True.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.6 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.022, the 82nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.