CVE-2026-28684Saurabh-kumar Python-dotenv
Media 6.6
Seguir: esta CVE · Saurabh-kumar · Saurabh-kumar Python-dotenv Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 40
- CVSS 3.1
- 6.6
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 20 abr 2026
- Actualizada
- 26 oct 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Qué pasa
python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Python-dotenv.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | python-dotenv |
< 1.2.2 |
1.2.2 |
pip install "python-dotenv>=1.2.2" |
| PyPI | python-dotenv |
< 1.2.2 |
1.2.2 |
pip install "python-dotenv>=1.2.2" |
Según OSV / GitHub Advisories (GHSA-mf9w-mj56-hr94, PYSEC-2026-2270). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| saurabh-kumar | python-dotenv | < 1.2.2 |
Boletines oficiales
- python313-pydantic-settings-2.16.3-1.1 on GA media · SUSE · openSUSE-SU-2026:12571-1 · 16 nov 2026 Media
- Security update for python-python-dotenv · SUSE · SUSE-SU-2026:2724-1 · 1 jul 2026 Media
- Security update for python-python-dotenv · SUSE · openSUSE-SU-2026:20952-1 · 11 jun 2026 Media
Además: SUSE (+1)
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.
- github.com Patch
- github.com Release Notes
- github.com Exploit Patch Vendor Advisory