VulnerabilityCVE-2026-28684GHSA-mf9w-mj56-hr94WID-SEC-W-2026-1407:CVE-2026-28684WID-SEC-W-2026-2933:CVE-2026-28684WID-SEC-W-2026-3046:CVE-2026-28684
python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
Not on CISA KEVCVSS 6.6 (v3.1)
Summary
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
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CISA Vulnrichment Source: CISA Vulnrichment
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)