CVE-2026-114136encode django-rest-framework
Alta 7.5 Sin autenticación
Seguir: esta CVE · encode · encode django-rest-framework Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 21 oct 2026
- Actualizada
- 30 oct 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
Django REST framework is a toolkit for building Web APIs. From 3.6.4 until 3.18.2, JSONParser.parse in rest_framework/parsers.py uses the client-supplied Content-Type charset value with codecs.getreader, which accepts byte-transform codecs such as bz2_codec rather than only text encodings. A remote unauthenticated client can therefore cause a compressed JSON request body to be expanded after Django has enforced DATA_UPLOAD_MAX_MEMORY_SIZE against only the wire bytes, allowing a very small request to consume substantial per-worker memory. The default parser set is sufficient, and any reachable endpoint that accepts a JSON body is affected. This issue is fixed in version 3.18.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para django-rest-framework.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | djangorestframework |
≥ 3.6.4 < 3.18.2 |
3.18.2 |
pip install "djangorestframework>=3.18.2" |
Según OSV / GitHub Advisories (GHSA-3547-9m27-7rxg). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- encode · django-rest-framework
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update · Red Hat · RHSA-2026:100715 · 23 nov 2026 Alta
- python313-djangorestframework-3.18.2-1.1 on GA media · SUSE · openSUSE-SU-2026:12277-1 · 26 oct 2026 Alta
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.