Patch Forecast
Amber warning
Patch this week.

CVE-2026-114138 · GHSA-33wh-fxxf-88vv

Django REST framework: Accept header with many large quoted parameters burns ~19s of CPU per request in content negotiation

Risk score
62/100
CVSS
7.5 v3.1
Exploit chance (30 days)
0.4%
Published
21 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
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/media…
Affected
djangorestframework (pip) < 3.18.2
Fix
Upgrade djangorestframework to 3.18.2 or later.
Exploitation
No known exploitation

Story map

Story map: djangorestframeworkTHE FLAWSTHE FIXCVE-2026-114138Django REST framework:Accept header with many largequoted parameters burns ~19s…CVSS 7.5 · EPSS 0%CVE-2026-114136Django REST framework:JSONParser applies anattacker-named codec to the…CVSS 7.5 · EPSS 0%CVE-2026-114137Django REST framework:TokenProxy.delete() reportssuccess and revokes nothingCVSS 7.4 · EPSS 0%Upgrade…3.18.2or later on your release lineWho is exposeddjangorestframework (pip) <3.18.2AMBER · PATCH THIS WEEKdjangorestframeworkDjango REST framework is atoolkit for building Web APIs.Prior to 3.18.2,DefaultContentNegotiation.get_accept_list inrest_framework/negotiation.pyaccepts an unbounded number…Where it standsNo known exploitationCONNECTS TOSame weaknessDenial of service (CWE-400)253 other warnings in 30 days →
Story map: the flaws, the fix, how it unfolded and what it connects to. Boxes link to the record or article.

At a glance

djangorestframework: Amber, patch this week. 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/media…

The flaws

  • CVE-2026-114138: Django REST framework: Accept header with many large quoted parameters burns ~19s of CPU per request in content negotiation (CVSS 7.5 · EPSS 0%)
  • CVE-2026-114136: Django REST framework: JSONParser applies an attacker-named codec to the request stream (CVSS 7.5 · EPSS 0%)
  • CVE-2026-114137: Django REST framework: TokenProxy.delete() reports success and revokes nothing (CVSS 7.4 · EPSS 0%)

The fix

Upgrade djangorestframework: 3.18.2 or later on your release line

Who is exposed: djangorestframework (pip) < 3.18.2

Where it stands

  • No known exploitation

Connects to

Why it is Amber

  • CVSS 7.5 high
  • Remotely exploitable without logging in
  • On your watchlist: PyPI

Affected packages

PackageEcosystemVulnerableFixed in
djangorestframeworkpip< 3.18.23.18.2

References

Original description

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.

Last activity 21 Oct 2026. Patch Forecast updates every hour.