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.
References5
- github.com/encode/django-rest-framework/commit/2912dc98042f78e2…
- github.com/encode/django-rest-framework/commit/82ef7b7e4e0a73ba…
- github.com/encode/django-rest-framework/pull/10013
- github.com/encode/django-rest-framework/security/advisories/GHS…
- github.com/encode/django-rest-framework/security/advisories/GHS…
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - EPSS — exploit probability
- 1% percentile: 47 · as of 12 November 2026
- CWE
- CWE-400CWE-770
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.