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.
Published: 2026-08-11
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Django REST Framework's request.data parsing bypasses the Django setting DATA_UPLOAD_MAX_MEMORY_SIZE when handling application/json or application/x-www-form-urlencoded bodies, allowing an attacker to send oversized payloads that consume more memory and CPU than intended. This uncontrolled resource consumption can lead to denial of service by exhausting server resources, as documented under CWE-400 and CWE-770.

Affected Systems

Encode’s Django REST Framework, version 3.17.1 and earlier, is affected. The vulnerability exists in any deployment of DRF that uses its default request.data parser prior to the fix introduced in 3.17.2.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of less than 1% suggests a low likelihood of widespread exploitation. The vulnerability can be triggered by a remote attacker sending a large JSON or form-encoded payload over HTTP, typically without needing authentication. The issue is not listed in CISA's KEV catalog, further indicating limited real-world exploitation to date.

Generated by OpenCVE AI on August 12, 2026 at 20:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Django REST Framework to 3.17.2 or later.
  • Deploy the updated library in all environments that serve API requests.
  • As a temporary measure, configure upstream web servers (such as Nginx or Apache) to limit request body size (e.g., client_max_body_size) or implement custom middleware to enforce Django’s DATA_UPLOAD_MAX_MEMORY_SIZE before DRF processes the request.

Generated by OpenCVE AI on August 12, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 12 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Encode
Encode django Rest Framework
Vendors & Products Encode
Encode django Rest Framework

Tue, 11 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Django REST framework: Potential bypass of Django `DATA_UPLOAD_MAX_MEMORY_SIZE` when parsing oversized JSON and urlencoded request bodies via DRF `request.data`
Weaknesses CWE-400
CWE-770
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Encode Django Rest Framework
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T14:07:46.158Z

Reserved: 2026-08-11T14:41:20.122Z

Link: CVE-2026-73228

cve-icon Vulnrichment

Updated: 2026-08-13T13:18:17.331Z

cve-icon NVD

Status : Received

Published: 2026-08-11T19:18:52.603

Modified: 2026-08-13T15:20:10.253

Link: CVE-2026-73228

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-11T18:54:16Z

Links: CVE-2026-73228 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T20:30:04Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling