CVE-2025-13372Djangoproject Django
Media 4.3 Sin autenticación
Seguir: esta CVE · Djangoproject · Djangoproject Django Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 41
- CVSS 3.1
- 4.3
- EPSS
- 0.5% probabilidad de explotación en 30 días · percentil 40
- Requiere autenticación
- No
- Publicada
- 2 dic 2025
- Actualizada
- 18 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:R/S:U/C:L/I:N/A:N
Qué pasa
An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27.
`FilteredRelation` is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet.annotate()` or `QuerySet.alias()` on PostgreSQL.
Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.
Django would like to thank Stackered for reporting this issue.
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 |
≥ 5.2a1 < 5.2.9 |
5.2.9 |
pip install "django>=5.2.9" |
| PyPI | django |
≥ 5.1a1 < 5.1.15 |
5.1.15 |
pip install "django>=5.1.15" |
| PyPI | django |
≥ 4.2a1 < 4.2.27 |
4.2.27 |
pip install "django>=4.2.27" |
| PyPI | django |
≥ 4.2 < 4.2.27 |
4.2.27 |
pip install "django>=4.2.27" |
| PyPI | django |
≥ 5.1 < 5.1.15 |
5.1.15 |
pip install "django>=5.1.15" |
| PyPI | django |
≥ 5.2 < 5.2.9 |
5.2.9 |
pip install "django>=5.2.9" |
Según OSV / GitHub Advisories (GHSA-rqw2-ghq9-44m7, PYSEC-2025-104). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| djangoproject | django | ≥ 4.2 < 4.2.27 |
| djangoproject | django | ≥ 5.1 < 5.1.15 |
| djangoproject | django | ≥ 5.2 < 5.2.9 |
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
- Security update for python-Django · SUSE · SUSE-SU-2025:4384-1 · 12 dic 2025 Alta
Además: SUSE (+3)
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 Patch Vendor Advisory
- groups.google.com Mailing List Release Notes
- www.djangoproject.com Patch Vendor Advisory