CVE-2025-59681Djangoproject Django
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Djangoproject · Djangoproject Django Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 1 oct 2025
- Actualizada
- 12 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-89
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB).
Qué hacer
- Aplica la actualización de seguridad del fabricante para Django.
- 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 | django |
≥ 4.2 < 4.2.25 |
4.2.25 |
pip install "django>=4.2.25" |
| PyPI | django |
≥ 5.1 < 5.1.13 |
5.1.13 |
pip install "django>=5.1.13" |
| PyPI | django |
≥ 5.2 < 5.2.7 |
5.2.7 |
pip install "django>=5.2.7" |
| PyPI | django |
≥ 4.2 < 4.2.25 |
4.2.25 |
pip install "django>=4.2.25" |
| PyPI | django |
≥ 5.1 < 5.1.13 |
5.1.13 |
pip install "django>=5.1.13" |
| PyPI | django |
≥ 5.2 < 5.2.7 |
5.2.7 |
pip install "django>=5.2.7" |
Según OSV / GitHub Advisories (GHSA-hpr9-3m2g-3j9p, PYSEC-2025-106). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| djangoproject | django | ≥ 4.2 < 4.2.25 |
| djangoproject | django | ≥ 5.1 < 5.1.13 |
| djangoproject | django | ≥ 5.2 < 5.2.7 |
Boletines oficiales
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · 14 jul 2026 Crítica
- python312-Django6-6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10005-1 · 3 ene 2026 Crítica
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.
- docs.djangoproject.com Vendor Advisory
- groups.google.com Release Notes Vendor Advisory
- www.djangoproject.com Release Notes Vendor Advisory
- www.openwall.com