CVE-2026-114138
CVE-2026-114138 · Django REST framework: Accept header with many large quoted parameters burns ~19s of CPU per request in content negotiation
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.4% · Public exploit · Fix available
- Published
- Updated
Affected products and versions
django-rest-framework
- Versions
- < 3.18.2: Affected
No fix published
djangorestframework Debian:12
- Versions
- 3.14.0-2
- 3.14.0-2+deb12u1
- 3.15.1-1
- 3.15.1-2
- 3.15.2-1
- 3.15.2-2
- 3.16.0-1
- 3.16.1-1
- 3.16.1-3
- 3.16.1-4
- 3.17.1+ds1-1
- 3.17.1-1
- 3.18.1+ds1-1
- 3.18.3+ds1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
djangorestframework Debian:13
- Versions
- 3.16.0-1
- 3.16.1-1
- 3.16.1-3
- 3.16.1-4
- 3.17.1+ds1-1
- 3.17.1-1
- 3.18.1+ds1-1
- 3.18.3+ds1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
djangorestframework Debian:14
- Versions
- 3.16.0-1
- 3.16.1-1
- 3.16.1-3
- 3.16.1-4
- 3.17.1+ds1-1
- 3.17.1-1
- 3.18.1+ds1-1
- Affected ranges
- ECOSYSTEM: < 3.18.3+ds1-1
Update to 3.18.3+ds1-1
djangorestframework PyPI
- Versions
- 0.1
- 0.1.1
- 0.2.0
- 0.2.1
- 0.2.2
- 0.2.3
- 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3.7.6
- 3.7.7
- 3.8.0
- 3.8.1
- 3.8.2
- 3.9.0
- 3.9.1
- 3.9.2
- 3.9.3
- 3.9.4
- Affected ranges
- ECOSYSTEM: < 3.18.2
Update to 3.18.2
djangorestframework Ubuntu:16.04:LTS
- Versions
- 2.4.3-2
- 3.3.1-1
- 3.3.2-1
- 3.3.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
djangorestframework Ubuntu:18.04:LTS
- Versions
- 3.4.0-2
- 3.7.7-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
djangorestframework Ubuntu:20.04:LTS
- Versions
- 3.9.0-2
- 3.10.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
djangorestframework Ubuntu:22.04:LTS
- Versions
- 3.12.1-1
- 3.12.4-1
- 3.12.4-2
- 3.12.4-2ubuntu1
- 3.12.4-2.1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
djangorestframework Ubuntu:24.04:LTS
- Versions
- 3.14.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
djangorestframework Ubuntu:26.10
- Versions
- 3.16.1-3
- 3.16.1-4
- 3.17.1+ds1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
djangorestframework Ubuntu:26.04:LTS
- Versions
- 3.16.1-1
- 3.16.1-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published