python-dotenv vulnerabilities and fixes
Recent CVEs affecting python-dotenv, with upgrade or downgrade steps. 1 tracked.
Also searched as: python dotenv.
python-dotenv has 1 tracked vulnerability, 0 critical. A fixed release or vendor patch exists for 1. Most recent: 2026-04-20. Highest priority: CVE-2026-28684 (score 32/100).
- CVE-2026-28684 MEDIUM 6.6 UPGRADE python-dotenv reads key-value pairs from a .env file and can set them as environment variables
FAQ
How do I fix python-dotenv vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is python-dotenv being exploited right now?
None of the tracked python-dotenv CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which python-dotenv CVE should I patch first?
CVE-2026-28684 currently ranks highest (32/100): python-dotenv reads key-value pairs from a .env file and can set them as environment variables.