# python-dotenv (PyPI)

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

- Latest: 1.2.4 (2026-10-01)
- Licence: BSD-3-Clause
- Downloads: 786490364 last month
- Advisories on the latest version: 0

- CVE-2026-28684 MODERATE: python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback Fixed in 1.2.2.
- CVE-2026-28684 :  Fixed in 1.2.2.

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