- Accueil
- Vulnérabilités
- CVE-2026-114136
CVE-2026-114136
Django REST framework: JSONParser applies an attacker-named codec to the request stream
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Encode (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| django-rest-framework | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| djangorestframework | de 3.6.4 (inclus) à 3.18.2 (exclu) |
3.18.2 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/djangorestframework 3.18.2source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
Avis CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware (09 novembre 2026) 9 nov. 2026
- GHSA-3547-9m27-7rxg — Django REST framework: JSONParser applies an attacker-named codec to the request stream 22 oct. 2026
Références
- https://github.com/encode/django-rest-framework/security/advisories/GHSA-3547-9m27-7rxgexploit
- https://github.com/encode/django-rest-framework/commit/3c2634599b26a9f789b03045118dbc276117611ax_refsource_MISC
- https://github.com/encode/django-rest-framework/releases/tag/3.18.2x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-114136ADVISORY
- https://github.com/encode/django-rest-frameworkPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-409 · Autre (CWE-409)