{"id":"CVE-2026-73228","published":"2026-08-11T18:54:16Z","modified":"2026-08-13T14:07:46Z","title":"Django REST framework: Potential bypass of Django `DATA_UPLOAD_MAX_MEMORY_SIZE` when parsing oversized JSON and…","vendor":"encode","product":"django-rest-framework","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00557,"percentile":0.47345,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-2m8g-3cmr-wg3w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/encode/django-rest-framework/pull/10013","tags":["x_refsource_MISC"]},{"url":"https://github.com/encode/django-rest-framework/commit/2912dc98042f78e27636551fc22eeaf10f725fdd","tags":["x_refsource_MISC"]},{"url":"https://github.com/encode/django-rest-framework/commit/82ef7b7e4e0a73ba5c489b465fae7e76d948da4e","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":9.47},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"encode","affectedVersions":[{"vendor":"encode","product":"django-rest-framework","versions":["< 3.17.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-13T13:17:50.209851Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"djangorestframework","vulnerableRanges":["<3.17.2"],"patched":["3.17.2"],"from":["GHSA-2m8g-3cmr-wg3w","PYSEC-2026-3827"],"provenance":"source"}],"summary":{"text":"The Django REST framework's request.data parsing in rest_framework/request.py (Request._parse()) passes the underlying request stream directly to its JSON and form parsers for application/json and application/x-www-form-urlencoded bodies, which bypasses Django's DATA_UPLOAD_MAX_MEMORY_SIZE limit. An unauthenticated remote attacker with network access can send oversized JSON or form-encoded request bodies, without any user interaction or special configuration, to consume additional memory and CPU.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:55Z"},"euvd":{"id":"EUVD-2026-56887","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-encode-django-rest-framework-cve-2026-73228","children":[{"from":"CVE-2026-73228","to":"CVE-2026-114138","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:djangorestframework","fromFixed":"3.17.2","toFixed":"3.18.2","daysApart":71},{"kind":"same-code","provenance":"machine","files":["rest_framework/request.py"],"commits":["https://github.com/encode/django-rest-framework/commit/148ab6523922d5a0c110f76615935e5220b63029","https://github.com/encode/django-rest-framework/commit/2912dc98042f78e27636551fc22eeaf10f725fdd","https://github.com/encode/django-rest-framework/commit/82ef7b7e4e0a73ba5c489b465fae7e76d948da4e"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2020-25626","published":"2020-09-30","fixed":"3.11.2","kev":false},{"cve":"CVE-2024-21520","published":"2024-06-26","fixed":"3.15.2","kev":false},{"cve":"CVE-2026-73228","published":"2026-08-11","fixed":"3.17.2","kev":false},{"cve":"CVE-2026-73229","published":"2026-08-11","fixed":"3.17.2","kev":false},{"cve":"CVE-2026-114136","published":"2026-10-21","fixed":"3.18.2","kev":false,"link":{"from":"CVE-2026-73228","to":"CVE-2026-114136","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:djangorestframework","fromFixed":"3.17.2","toFixed":"3.18.2","daysApart":71}]}},{"cve":"CVE-2026-114137","published":"2026-10-21","fixed":"3.18.2","kev":false,"link":{"from":"CVE-2026-73228","to":"CVE-2026-114137","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:djangorestframework","fromFixed":"3.17.2","toFixed":"3.18.2","daysApart":71}]}}],"package":"PyPI:djangorestframework"}}