Improper Validation of Specified Quantity in Input Affecting djangorestframework package, versions [,3.17.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DJANGORESTFRAMEWORK-18853986
  • published16 Aug 2026
  • disclosed13 Aug 2026
  • creditzainnadeem786

Introduced: 13 Aug 2026

NewCVE-2026-73228  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade djangorestframework to version 3.17.2 or higher.

Overview

djangorestframework is a powerful and flexible toolkit for building Web APIs.

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input through Request._parse in rest_framework/request.py. An attacker can make request.data accept oversized application/json or application/x-www-form-urlencoded bodies by sending a large request to a DRF endpoint. Because DRF parses those bodies directly from the underlying request stream, applications that rely on Django’s upload-size limit can consume excess memory and CPU while processing requests that Django’s request.body or native form parsing would reject.

CVSS Base Scores

version 4.0
version 3.1