python-dotenv

Read key-value pairs from a .env file and set them as environment variables

1.2.4Latest, 1 Oct 2026
786MDownloads, last month
0Advisories on the latest
2Advisories, all versions
BSD-3-ClauseLicence
8.9KStars
6.3/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback CVE-2026-28684 Fixed in 1.2.2 21 Apr 2026
PYSEC-2026-2270 CVE-2026-28684 Fixed in 1.2.2 20 Apr 2026

In the news

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.