Get real-time updates on Telegram
CVE-2026-28684: python-dotenv before 1.2.2 (exclusive), < 1.2.2
CVE-2026-28684 affects python-dotenv. CVSS 3.1 base score 6.6 (MEDIUM, Vendor/CNA). EPSS 0.00252 (percentile 0.16553), scored 25-Oct-2026. Fixed version: 1.2.1+aikido.2. Fixed version: 1.1.1+aikido.2. Fixed version: 0.21.1+aikido.1. Fixed version: 1.0.1+aikido.1. Fixed version: 1.1.1+aikido.3. Fixed version: 1.1.1+aikido.4. Fixed version: 1.2.1+aikido.3. Fixed version: 0.21.0-r4.
Affected technology
python-dotenv · before 1.2.2 (exclusive)
saurabh-kumar
python-dotenv · < 1.2.2
theskumar
Component: Not specified by the source
Attack conditions (Vendor/CNA, CVSS 3.1): Local · Low privileges required · User interaction required
What an attacker can do
The source says 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. Vendor/CNA’s CVSS 3.1 assessment (base score 6.6/10) rates confidentiality impact as none; integrity and availability impact as high.
- CWE
- CWE-59, CWE-61
- Product
- python-dotenv
- CCR priority
- 26.5 /100 (P4)
- CVSS 3.1
- 6.6 /10 · CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H · Vendor/CNA
- EPSS
- 0.00262 · percentile 0.18198 · 2026-11-18
- KEV
- no
Provenance
- FIRST EPSS daily exploit-probability · Source record · observed 2026-11-18 23:45:22.222522+00:00 UTC
- NVD CVE API 2.0 · Source record · observed 2026-10-27 00:51:15.792435+00:00 UTC
- OSV.dev · Source record · observed 2026-10-13 20:24:59.943020+00:00 UTC
- OSV.dev · Source record · observed 2026-10-27 11:47:01.753480+00:00 UTC
- OSV.dev · Source record · observed 2026-10-04 23:49:35.786600+00:00 UTC
Stable permalink: https://cybercodered.org/item/cve-cve-2026-28684.html