djangorestframework — security advisory
Django REST framework is a toolkit for building Web APIs. Prior to 3.17.2, Django REST Framework's request.data parsing in rest_framework/request.py Request._parse() passes the underlying HttpRequest stream to JSONParser and FormParser for application/json and application/x-www-form-urlencoded bodies, bypassing Django's DATA_UPLOAD_MAX_MEMORY_SIZE protection and allowing oversized request bodies to consume additional memory and CPU. This issue is fixed in version 3.17.2.
- Products
- djangorestframework
- Affected versions
- 2.4.3-2, 3.10.2-1, 3.12.1-1, 3.12.4-1, 3.12.4-2, 3.12.4-2.1ubuntu1, 3.12.4-2ubuntu1, 3.14.0-2, 3.16.1-1, 3.16.1-3, 3.16.1-4, 3.17.1+ds1-1, 3.3.1-1, 3.3.2-1, 3.3.2-2, 3.4.0-2, 3.7.7-1, 3.9.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-73228
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:30 UTC · Revision 1
Source evidence
Django REST framework is a toolkit for building Web APIs. Prior to 3.17.2, Django REST Framework's request.data parsing in rest_framework/request.py Request._parse() passes the underlying HttpRequest stream to JSONParser and FormParser for application/json and application/x-www-form-urlencoded bodies, bypassing Django's DATA_UPLOAD_MAX_MEMORY_SIZE protection and allowing oversized request bodies to consume additional memory and CPU. This issue is fixed in version 3.17.2.
osv:UBUNTU-CVE-2026-73228
djangorestframework
Fixed versions: Not specified
djangorestframework
Fixed versions: Not specified
djangorestframework
Fixed versions: Not specified
djangorestframework
Fixed versions: Not specified
djangorestframework
Fixed versions: Not specified
djangorestframework
Fixed versions: Not specified
djangorestframework
Fixed versions: Not specified
Complete source record
{
"id": "9372ac0bf3bb7fa6870c8c3b4c9695b6216f5118f8c38ae0e3bdfc64bde045a1",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-73228",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-73228",
"summary": "Django REST framework is a toolkit for building Web APIs. Prior to 3.17.2, Django REST Framework's request.data parsing in rest_framework/request.py Request._parse() passes the underlying HttpRequest stream to JSONParser and FormParser for application/json and application/x-www-form-urlencoded bodies, bypassing Django's DATA_UPLOAD_MAX_MEMORY_SIZE protection and allowing oversized request bodies to consume additional memory and CPU. This issue is fixed in version 3.17.2.",
"evidence": "osv:UBUNTU-CVE-2026-73228",
"products": [
{
"name": {
"value": "djangorestframework",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.3-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.3.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.3.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.3.2-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "djangorestframework",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.4.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.7.7-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "djangorestframework",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.9.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "3.10.2-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "djangorestframework",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.12.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.12.4-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.12.4-2",
"evidence": "/affected/3/versions"
},
{
"value": "3.12.4-2ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "3.12.4-2.1ubuntu1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "djangorestframework",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.14.0-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "djangorestframework",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.16.1-3",
"evidence": "/affected/5/versions"
},
{
"value": "3.16.1-4",
"evidence": "/affected/5/versions"
},
{
"value": "3.17.1+ds1-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "djangorestframework",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.16.1-1",
"evidence": "/affected/6/versions"
},
{
"value": "3.16.1-3",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-73228",
"aliases": [
"UBUNTU-CVE-2026-73228"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "djangorestframework",
"purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.4.3-2",
"3.3.1-1",
"3.3.2-1",
"3.3.2-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73228.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-djangorestframework",
"binary_version": "3.3.2-2"
},
{
"binary_name": "python3-djangorestframework",
"binary_version": "3.3.2-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "djangorestframework",
"purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.4.0-2",
"3.7.7-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73228.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-djangorestframework",
"binary_version": "3.7.7-1"
},
{
"binary_name": "python3-djangorestframework",
"binary_version": "3.7.7-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "djangorestframework",
"purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"3.9.0-2",
"3.10.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73228.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-djangorestframework",
"binary_version": "3.10.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "djangorestframework",
"purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.12.1-1",
"3.12.4-1",
"3.12.4-2",
"3.12.4-2ubuntu1",
"3.12.4-2.1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73228.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-djangorestframework",
"binary_version": "3.12.4-2.1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "djangorestframework",
"purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.14.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73228.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-djangorestframework",
"binary_version": "3.14.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "djangorestframework",
"purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.16.1-3",
"3.16.1-4",
"3.17.1+ds1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73228.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-djangorestframework",
"binary_version": "3.17.1+ds1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "djangorestframework",
"purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.16.1-1",
"3.16.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73228.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-djangorestframework",
"binary_version": "3.16.1-3"
}
]
}
}
],
"modified": "2026-10-17T12:55:30.617696679Z",
"provider": "osv",
"upstream": [
"CVE-2026-73228"
],
"references": [
"https://ubuntu.com/security/CVE-2026-73228",
"https://www.cve.org/CVERecord?id=CVE-2026-73228",
"https://github.com/encode/django-rest-framework/security/advisories/GHSA-2m8g-3cmr-wg3w",
"https://github.com/encode/django-rest-framework/pull/10013",
"https://github.com/encode/django-rest-framework/commit/2912dc98042f78e27636551fc22eeaf10f725fdd",
"https://github.com/encode/django-rest-framework/commit/82ef7b7e4e0a73ba5c489b465fae7e76d948da4e"
]
},
"related_cves": [
{
"value": "CVE-2026-73228",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353841,
"published_at": "2026-08-11T19:18:00+00:00"
}