Vulnerability · Published Aug 11, 2026 · Assigned by GitHub_M

CVE-2026-73228Django REST framework: Potential bypass of Django `DATA_UPLOAD_MAX_MEMORY_SIZE` when parsing oversized JSON and urlencoded request bodies via DRF `request.data`

Medium 5.3

In plain English

A medium-severity uncontrolled resource consumption in django-rest-framework from encode. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.6%top 53.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12djangorestframeworkno fix listedDEBIAN-CVE-2026-73228
Debian:13djangorestframeworkno fix listedDEBIAN-CVE-2026-73228
Debian:14djangorestframework3.18.1+ds1-1DEBIAN-CVE-2026-73228
PyPIdjangorestframework3.17.2GHSA-2m8g-3cmr-wg3w
PyPIdjangorestframework3.17.2PYSEC-2026-3827
Ubuntu:22.04:LTSdjangorestframeworkno fix listedUBUNTU-CVE-2026-73228
Ubuntu:24.04:LTSdjangorestframeworkno fix listedUBUNTU-CVE-2026-73228
Ubuntu:26.04:LTSdjangorestframeworkno fix listedUBUNTU-CVE-2026-73228
Ubuntu:26.10djangorestframeworkno fix listedUBUNTU-CVE-2026-73228

Affected products (as reported)

VendorProductVersions
encode django-rest-framework < 3.17.2

Weakness: CWE-400, CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References