VDB

CVE-2026-28684

CVE-2026-28684 PUBLISHED CVSS 6.599999904632568 MEDIUM

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.

EPSS 0.00% · 0.2th percentile

Risk Scores

CVSS v3.1
6.599999904632568
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
EPSS Score
0.00%
0.2th percentile

Affected Products

VendorProductVersions
theskumarpython-dotenv< 1.2.2

Timeline

  • Apr 20, 2026 CVE Published
  • Apr 21, 2026 Security Advisory
  • Apr 22, 2026 CVE Updated
  • May 18, 2026 EPSS Score
  • May 19, 2026 EPSS Score
  • May 20, 2026 EPSS Score
  • May 21, 2026 EPSS Score
  • May 22, 2026 EPSS Score
  • May 23, 2026 EPSS Score
  • May 24, 2026 EPSS Score
  • May 25, 2026 EPSS Score
  • May 26, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›