Skip to content
Heist/ feed
MediumFix available

DEBIAN-CVE-2026-53537

Type: advisorySource: OSV1 source record

Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, parse_options_header parsed Content-Disposition (and Content-Type) headers with email.message.Message, which transparently applies RFC 2231/5987 decoding. The extended parameter syntax (filename*=charset'lang'value, name*=..., and the filename*0/filename*1 continuation form) is decoded and surfaced under the bare filename/name key, and overrides the plain parameter when both are present. RFC 7578 §4.2 explicitly forbids the filename* form in multipart/form-data. Components that follow RFC 7578, or that do not implement RFC 2231/5987 decoding for multipart/form-data (WAFs, proxies, gateways), may interpret such a header differently. An attacker can exploit that difference to smuggle a different field name or filename past an upstream inspector to the backend. This vulnerability is fixed in 0.0.30.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-53537

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-53537

python-multipart

Source reference: /affected/0/package/name

Affected versions
0.0.20-1

Source reference: /affected/0/versions

0.0.20-1.1

Source reference: /affected/0/versions

0.0.20-1.1~deb13u1

Source reference: /affected/0/versions

0.0.22-1

Source reference: /affected/0/versions

0.0.26-1

Source reference: /affected/0/versions

0.0.32-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

python-multipart

Source reference: /affected/1/package/name

Affected versions
0.0.20-1

Source reference: /affected/1/versions

0.0.20-1.1

Source reference: /affected/1/versions

0.0.20-1.1~deb13u1

Source reference: /affected/1/versions

0.0.22-1

Source reference: /affected/1/versions

0.0.26-1

Source reference: /affected/1/versions

Fixed versions
0.0.32-1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "python-multipart",
      "purl": "pkg:deb/debian/python-multipart?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.0.20-1",
      "0.0.20-1.1",
      "0.0.20-1.1~deb13u1",
      "0.0.22-1",
      "0.0.26-1",
      "0.0.32-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-53537.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.0.32-1"
          }
        ]
      }
    ],
    "package": {
      "name": "python-multipart",
      "purl": "pkg:deb/debian/python-multipart?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0.0.20-1",
      "0.0.20-1.1",
      "0.0.20-1.1~deb13u1",
      "0.0.22-1",
      "0.0.26-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-53537.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]
Related CVEs
CVE-2026-53537

Source reference: /upstream

Publisher severity

medium

Source reference: /severity/0/score

Event
#81907 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement