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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 40% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-11T18:54:16.694Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-2m8g-3cmr-wg3w, PYSEC-2026-3827
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- encode django-rest-framework: < 3.17.2
- djangorestframework (PyPI): before 3.17.2

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/encode/django-rest-framework/security/advisories/GHSA-2m8g-3cmr-wg3w> (exploit, web)
- <https://github.com/encode/django-rest-framework/pull/10013> (web)
- <https://github.com/encode/django-rest-framework/commit/2912dc98042f78e27636551fc22eeaf10f725fdd> (web)
- <https://github.com/encode/django-rest-framework/commit/82ef7b7e4e0a73ba5c489b465fae7e76d948da4e> (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)

## Sources

- CVE List: [CVE-2026-73228](https://www.cve.org/CVERecord?id=CVE-2026-73228), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-2m8g-3cmr-wg3w](https://github.com/advisories/GHSA-2m8g-3cmr-wg3w), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-73228](https://nvd.nist.gov/vuln/detail/CVE-2026-73228), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3827](https://osv.dev/vulnerability/PYSEC-2026-3827), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-73228 · Whole record: https://cve.day/CVE-2026-73228.json · Rebuilt by cve.day 2026-11-25T22:59:32.503Z
