CVE-2026-73228
MEDIUM 5.3CVSS 3.1Django REST framework: Potential bypass of Django `DATA_UPLOAD_MAX_MEMORY_SIZE` when parsing oversized JSON and urlencoded request bodies via DRF `request.data`
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.
- Published
- 11 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-2m8g-3cmr-wg3wPYSEC-2026-3827
- Sources
- NVDJSONOSV GHSA-2m8g-3cmr-wg3wJSONOSV PYSEC-2026-3827JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | djangorestframework | < 3.17.2 | 3.17.2 |
References
- https://github.com/encode/django-rest-framework/commit/2912dc98042f78e27636551fc22eeaf10f725fdd · WEB
- https://github.com/encode/django-rest-framework/commit/82ef7b7e4e0a73ba5c489b465fae7e76d948da4e · WEB
- https://github.com/encode/django-rest-framework/pull/10013 · WEB
- https://github.com/encode/django-rest-framework/security/advisories/GHSA-2m8g-3cmr-wg3w · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-73228 · ADVISORY
- https://github.com/encode/django-rest-framework · PACKAGE
- https://github.com/encode/django-rest-framework/releases/tag/3.17.2 · WEB
- https://pypi.org/project/djangorestframework · PACKAGE
- https://github.com/advisories/GHSA-2m8g-3cmr-wg3w · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Sep 2026)