python-dotenv (pypi) has 1 known vulnerability, the worst rated MODERATE. Upgrade to 1.2.2 or later to clear it. No malicious-package signal is recorded.
2 published AI models are associated with this package: 2 name it in a requirements or pyproject file, 1 load it or import it directly, and 0 are inferred from the runtime stack their declared library pulls in. Only 2 state a version requirement, so this is not a count of affected models.
cvss
6.6
medium
CVSS v3.1 base score out of 10
epss
0.25%
low
chance of exploitation in 30 days, 17th percentile of all CVEs
xyz score
not scored
CyberXYZ composite out of 10
fig. 01 — GHSA-mf9w-mj56-hr94, the advisory selected below
setkey() and unsetkey() in python-dotenv follow symbolic links when rewriting .env files, allowing a local attacker to overwrite arbitrary files via a crafted…
CyberXYZ does not call a package safe in absolute terms. It records 1 known vulnerability for python-dotenv (pypi), the worst rated MODERATE, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does python-dotenv have known vulnerabilities?
Yes. CyberXYZ records 1 known vulnerability for python-dotenv (pypi), the worst rated MODERATE. They are GHSA-mf9w-mj56-hr94.
Which version of python-dotenv should I use?
1.2.2 or later clears every advisory recorded for python-dotenv (pypi). Check the release you pick before installing it.
How do I check python-dotenv before installing?
Search python-dotenv in CyberXYZ Check at https://cyberxyz.io/check?q=python-dotenv. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 10:01 UTC. The most recent advisory here was published 2026-04-21. Updated continuously from NVD, GHSA, OSV and CNA feeds.