python-multipart — security advisory
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, QuerystringParser treated ; as a field separator in application/x-www-form-urlencoded bodies, in addition to &. The WHATWG URL standard, modern browsers, and Python's urllib.parse (since the CVE-2021-23336 fix) treat only & as a separator. This creates a parser differential: the same bytes are tokenized into different fields than a WHATWG compliant intermediary would produce, allowing an attacker to smuggle extra form fields past an upstream body inspecting component. This vulnerability is fixed in 0.0.30.
- Products
- python-multipart
- Affected versions
- 0.0.20-1, 0.0.20-1.1, 0.0.26-1, 0.0.32-1, 0.0.5-2, 0.0.5-2ubuntu0.1~esm1, 0.0.5-3, 0.0.6-1, 0.0.9-1, 0.0.9-1ubuntu0.1~esm1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-53538
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:08 UTC · Revision 1
Source evidence
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, QuerystringParser treated ; as a field separator in application/x-www-form-urlencoded bodies, in addition to &. The WHATWG URL standard, modern browsers, and Python's urllib.parse (since the CVE-2021-23336 fix) treat only & as a separator. This creates a parser differential: the same bytes are tokenized into different fields than a WHATWG compliant intermediary would produce, allowing an attacker to smuggle extra form fields past an upstream body inspecting component. This vulnerability is fixed in 0.0.30.
osv:UBUNTU-CVE-2026-53538
python-multipart
Fixed versions: Not specified
python-multipart
Fixed versions: Not specified
python-multipart
Fixed versions: Not specified
python-multipart
Fixed versions: Not specified
python-multipart
Fixed versions: Not specified
Complete source record
{
"id": "18ccbc2333537fb31dd376e56d92180309d3c5045907ce0637514eab4248009c",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-53538",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-53538",
"summary": "Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, QuerystringParser treated ; as a field separator in application/x-www-form-urlencoded bodies, in addition to &. The WHATWG URL standard, modern browsers, and Python's urllib.parse (since the CVE-2021-23336 fix) treat only & as a separator. This creates a parser differential: the same bytes are tokenized into different fields than a WHATWG compliant intermediary would produce, allowing an attacker to smuggle extra form fields past an upstream body inspecting component. This vulnerability is fixed in 0.0.30.",
"evidence": "osv:UBUNTU-CVE-2026-53538",
"products": [
{
"name": {
"value": "python-multipart",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0.5-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.0.5-2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-multipart",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0.5-3",
"evidence": "/affected/1/versions"
},
{
"value": "0.0.6-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.0.9-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.0.9-1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-multipart",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0.20-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-multipart",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0.20-1.1",
"evidence": "/affected/3/versions"
},
{
"value": "0.0.26-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.0.32-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "python-multipart",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0.20-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.0.20-1.1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "low",
"structured": {
"id": "UBUNTU-CVE-2026-53538",
"aliases": [
"UBUNTU-CVE-2026-53538"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-multipart",
"purl": "pkg:deb/ubuntu/python-multipart?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"0.0.5-2",
"0.0.5-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53538.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-multipart",
"binary_version": "0.0.5-2ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-multipart",
"purl": "pkg:deb/ubuntu/python-multipart?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"0.0.5-3",
"0.0.6-1",
"0.0.9-1",
"0.0.9-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53538.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-multipart",
"binary_version": "0.0.9-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-multipart",
"purl": "pkg:deb/ubuntu/python-multipart?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.0.20-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53538.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-python-multipart",
"binary_version": "0.0.20-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-multipart",
"purl": "pkg:deb/ubuntu/python-multipart?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.0.20-1.1",
"0.0.26-1",
"0.0.32-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53538.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-python-multipart",
"binary_version": "0.0.32-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-multipart",
"purl": "pkg:deb/ubuntu/python-multipart?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.0.20-1",
"0.0.20-1.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53538.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-python-multipart",
"binary_version": "0.0.20-1.1"
}
]
}
}
],
"modified": "2026-10-17T13:00:25.220707117Z",
"provider": "osv",
"upstream": [
"CVE-2026-53538"
],
"references": [
"https://ubuntu.com/security/CVE-2026-53538",
"https://www.cve.org/CVERecord?id=CVE-2026-53538"
]
},
"related_cves": [
{
"value": "CVE-2026-53538",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 360519,
"published_at": "2026-06-22T18:16:00+00:00"
}