---
id: CVE-2026-114138
title: >-
  Django REST framework: Accept header with many large quoted parameters burns
  ~19s of CPU per request in content negotiation
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-400
  - CWE-407
  - CWE-770
vendor: encode
product: django-rest-framework
affected:
  - django-rest-framework < 3.18.2
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-28T18:11:09.830556Z'
exploitAvailable: true
published: '2026-10-21'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T18:11:30.554Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114138'
references:
  - url: >-
      https://github.com/encode/django-rest-framework/security/advisories/GHSA-33wh-fxxf-88vv
    label: >-
      https://github.com/encode/django-rest-framework/security/advisories/GHSA-33wh-fxxf-88vv
  - url: >-
      https://github.com/encode/django-rest-framework/commit/148ab6523922d5a0c110f76615935e5220b63029
    label: >-
      https://github.com/encode/django-rest-framework/commit/148ab6523922d5a0c110f76615935e5220b63029
  - url: 'https://github.com/encode/django-rest-framework/releases/tag/3.18.2'
    label: 'https://github.com/encode/django-rest-framework/releases/tag/3.18.2'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-114138.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-114138'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2558553'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-114138'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-114138'
  - url: 'https://github.com/encode/django-rest-framework'
  - url: 'https://github.com/advisories/GHSA-33wh-fxxf-88vv'
tags:
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
  - osv
  - pip
  - ghsa
epss: 0.00595
epssPercentile: 0.48616
aliases:
  - GHSA-33wh-fxxf-88vv
ecosystem: pip
patched:
  - djangorestframework 3.18.2
ingestedAt: '2026-10-21T21:13:32.895Z'
---

## Overview

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.

## Affected

- `django-rest-framework < 3.18.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-114138)

Affected packages:

- `djangorestframework < 3.18.2`

Patched in:

- `djangorestframework 3.18.2`

Source: https://osv.dev/vulnerability/GHSA-33wh-fxxf-88vv

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Ansible Automation Platform 2, Red Hat Discovery 2, Red Hat Satellite 6, Red Hat Update Infrastructure 4 for Cloud Providers · no fix planned: Red Hat Ansible Automation Platform 2, Red Hat Discovery 2, Red Hat Satellite 6, Red Hat Update Infrastructure 4 for Cloud Providers · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-114138.json)
