Uncontrolled resource consumption in encode django-rest-framework
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| encode | django-rest-framework | before 3.17.2 | 3.17.2 | Patch available | CNA |
| — | djangorestframework (PyPI) | before 3.17.2 | 3.17.2 | Patch available | GHSA-2m8g-3cmr-wg3w |
- django-rest-framework Vendorencode Affected before 3.17.2 Fixed in 3.17.2 Patch available CNA
- djangorestframework (PyPI) Vendor— Affected before 3.17.2 Fixed in 3.17.2 Patch available GHSA-2m8g-3cmr-wg3w
Remediation
- Fix · CNA django-rest-framework (encode) Fixed in 3.17.2
- Fix · GHSA-2m8g-3cmr-wg3w djangorestframework (PyPI) Fixed in 3.17.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Discovery 2 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
| Red Hat Update Infrastructure 4 for Cloud Providers | Affected | No fix planned: Out of support scope |
| Red Hat Update Infrastructure 5 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-73228
- 2026-10-03 Alias added: GHSA-2m8g-3cmr-wg3w
References
Other 6
- 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
- https://github.com/encode/django-rest-framework
- https://github.com/encode/django-rest-framework/releases/tag/3.17.2
More encode vulnerabilities
- TI-2026-35991 Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks KEVCVSS 3.1MEDIUM 6.5
- TI-2024-32128 Starlette Denial of service (DoS) via multipart/form-data CVSS 4.0HIGH 8.7
- TI-2026-78981 Django REST framework Accept header parsing causes excessive CPU use CVSS 3.1HIGH 7.5
- TI-2026-78978 Django REST framework JSONParser accepts attacker-chosen codecs CVSS 3.1HIGH 7.5
- TI-2024-16279 python-multipart vulnerable to content-type header Regular expression Denial of Service CVSS 3.1HIGH 7.5
- TI-2023-13590 Path traversal in encode Starlette CVSS 3.1HIGH 7.5
Sources
- CVE-2026-73228 · CVE Program
- CVE-2026-73228 · NVD
- FIRST EPSS
- GHSA-2m8g-3cmr-wg3w · GitHub Advisory Database · CC BY 4.0
- CVE-2026-73228 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences