{"id":"CVE-2026-114138","published":"2026-10-21T20:09:06Z","modified":"2026-10-28T18:11:30Z","title":"Django REST framework: Accept header with many large quoted parameters burns ~19s of CPU per request in content…","vendor":"encode","product":"django-rest-framework","tier":"tail","description":{"text":"Django REST framework is a toolkit for building Web APIs. Prior to 3.18.2, DefaultContentNegotiation.get_accept_list in rest_framework/negotiation.py accepts an unbounded number and aggregate size of Accept tokens, while select_renderer in that file repeatedly invokes _MediaType parsing from rest_framework/utils/mediatypes.py for each attacker-controlled token, every renderer, and forced 406 renegotiation. A remote unauthenticated client can send many distinct media types containing large quoted parameter values with numerous semicolons, causing Django's parameter parser and DRF's repeated parsing structure to consume disproportionate CPU. Requests to any reachable endpoint can pin synchronous workers for prolonged periods, and concurrent requests can make the service unavailable until the requests stop. This issue is fixed in version 3.18.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00609,"percentile":0.43332,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-33wh-fxxf-88vv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/encode/django-rest-framework/commit/148ab6523922d5a0c110f76615935e5220b63029","tags":["x_refsource_MISC"]},{"url":"https://github.com/encode/django-rest-framework/releases/tag/3.18.2","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.67},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"encode","affectedVersions":[{"vendor":"encode","product":"django-rest-framework","versions":["< 3.18.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-28T18:11:09.830556Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"djangorestframework","vulnerableRanges":["<3.18.2"],"patched":["3.18.2"],"from":["GHSA-33wh-fxxf-88vv"],"provenance":"source"}],"summary":{"text":"Django REST framework (encode) has an uncontrolled resource consumption flaw in its content negotiation code, in rest_framework/negotiation.py and rest_framework/utils/mediatypes.py, affecting versions before 3.18.2. A remote, unauthenticated client can send an Accept header containing many distinct media types with large quoted parameter values and numerous semicolons, causing excessive CPU use per request that can tie up synchronous workers and make the service unavailable while such requests continue, against any reachable endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:53Z"},"euvd":{"id":"EUVD-2026-107548","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-encode-django-rest-framework-cve-2026-73228","parents":[{"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-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},{"cve":"CVE-2026-114137","published":"2026-10-21","fixed":"3.18.2","kev":false},{"cve":"CVE-2026-114138","published":"2026-10-21","fixed":"3.18.2","kev":false}],"package":"PyPI:djangorestframework"}}