Skip to main content
VulnerabilityPublished Updated

CVE-2026-24486: Fastapi · Python-Multipart has Arbitrary File Write via Non-Default Configuration

Affects fastapiSource GCVE Database

0
Compare
Authoritative record:CVE-2026-24486· High 8.6

Public exploit available (Exploit-DB) · CVSS 8.6 High : upgrade to 0.128.0_2 as a priority.

Data as of 9 Nov 2026, 20:02 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.128.0_2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 27 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by GitHub, Inc.

    , 4 days before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. In Threat Radar

    record ingested

    , 17 minutes after disclosure

  4. First Exploit-DB entry (opens in a new tab)

    Python-Multipart 0.0.22 - Path Traversal

    , 93 days after disclosure

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade fastapi to 0.128.0_2.

Affected software

ProductAffectedFixed in
Homebrewfastapipkg:brew/fastapiOther threatsAffected
  • >=0.111.0 <0.128.0_2
Fixed in
  • 0.128.0_2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Fastapi to version 0.128.0_2 or later where this vulnerability is fixed. Alternatively, avoid setting UPLOAD_KEEP_FILENAME to True in project configurations to prevent exploitation.

Description

A path traversal vulnerability in Fastapi's Python-Multipart library allows arbitrary file write when using non-default configuration options. Specifically, if UPLOAD_DIR is set and UPLOAD_KEEP_FILENAME is True, an attacker can craft filenames starting with '/' to write files outside the intended upload directory. This affects versions from 0.111.0 up to but not including 0.128.0_2. The vulnerability is fixed in version 0.128.0_2.

References

Community reviews

Loading reviews…