CVE-2026-114138Django REST framework: Accept header with many large quoted parameters burns ~19s of CPU…
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | djangorestframework | Fix pending | UBUNTU-CVE-2026-114138 | |
| Ubuntu 26.04 | djangorestframework | Under investigation | UBUNTU-CVE-2026-114138 | |
| Ubuntu 24.04 | djangorestframework | Under investigation | UBUNTU-CVE-2026-114138 | |
| Ubuntu 22.04 | djangorestframework | Under investigation | UBUNTU-CVE-2026-114138 | |
| Ubuntu 20.04 | djangorestframework | Fix pending | UBUNTU-CVE-2026-114138 | |
| Ubuntu 18.04 | djangorestframework | Fix pending | UBUNTU-CVE-2026-114138 | |
| Ubuntu 16.04 | djangorestframework | Fix pending | UBUNTU-CVE-2026-114138 | |
| Debian 14 | djangorestframework | Fixed | 3.18.3+ds1-1 | DEBIAN-CVE-2026-114138 |
| Debian 13 | djangorestframework | Fix pending | DEBIAN-CVE-2026-114138 | |
| Debian 12 | djangorestframework | Fix pending | DEBIAN-CVE-2026-114138 | |
| PyPI library | djangorestframework | Fixed | 3.18.2 | GHSA-33wh-fxxf-88vv |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- encode django-rest-framework: affected: < 3.18.2
References
- https://github.com/encode/django-rest-framework/security/advisories/GHSA-33wh-fxxf-88vv
- https://github.com/encode/django-rest-framework/commit/148ab6523922d5a0c110f76615935e5220b63029
- https://github.com/encode/django-rest-framework/releases/tag/3.18.2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.