CVE-2026-73228encode django-rest-framework
Medium 5.3 No auth needed
Follow: this CVE · encode · encode django-rest-framework We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Aug 11, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for django-rest-framework.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | djangorestframework |
< 3.17.2 |
3.17.2 |
pip install "djangorestframework>=3.17.2" |
| PyPI | djangorestframework |
< 3.17.2 |
3.17.2 |
pip install "djangorestframework>=3.17.2" |
Per OSV / GitHub Advisories (GHSA-2m8g-3cmr-wg3w, PYSEC-2026-3827). Check the version in your lockfile before upgrading.
Affected products
- encode · django-rest-framework
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-djangorestframework-3.18.0-2.1 on GA media · SUSE · openSUSE-SU-2026:11625-1 · Aug 27, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.