Skip to content
OpenAdvisories
High USN-8027-1 3 CVEs

python-multipart vulnerabilities

Published Feb 11, 2026 · Updated Oct 27, 2026

Summary

It was discovered that Python-Multipart incorrectly handled certain
regular expressions. An attacker could possibly use this issue to cause
Python-Multipart to consume excessive resources, leading to a regular
expression denial of service. This issue only affected Ubuntu 22.04 LTS.
(CVE-2024-24762)

It was discovered that Python-Multipart did not properly sanitize line
breaks during user input. An attacker could use this issue to send
arbitrary input, thus preventing other requests from being processed,
resulting in a denial of service. This issue was only fixed in
Ubuntu 24.04 LTS. (CVE-2024-53981)

It was discovered that Python-Multipart was vulnerable to path traversal
attacks. An attacker could possibly craft and upload files outside the
target directory, resulting in remote code execution. (CVE-2026-24486)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS python-multipart 0.0.5-2ubuntu0.1~esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS python-multipart 0.0.9-1ubuntu0.1~esm1

Vulnerabilities 3

  • High 8.6
    CVE-2026-24486 Public exploit

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

    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 arbi…

  • High 7.5

    python-multipart vulnerable to content-type header Regular expression Denial of Service

    `python-multipart` is a streaming multipart parser for Python. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is ve…

  • High 7.5

    python-multipart has a Denial of service (DoS) via deformation `multipart/form-data` boundary

    python-multipart is a streaming multipart parser for Python. When parsing form data, python-multipart skips line breaks (CR \r or LF \n) in front of the first boundary and any tailing bytes after the last boundary. This happens one byte at a time and emits a …

References

  • report
    https://ubuntu.com/security/CVE-2024-24762
  • report
    https://ubuntu.com/security/CVE-2024-53981
  • report
    https://ubuntu.com/security/CVE-2026-24486