Vulnerability in Theskumar Python-dotenv
CVE-2026-28684
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 atta…
EPSS: 0.000 (0.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H.
Affected products
- Theskumar Python-dotenv — versions < 1.2.2
Weakness classification (CWE)
References
- https://github.com/theskumar/python-dotenv/security/advisories/GHSA-mf9w-mj56-hr94 (x_refsource_CONFIRM)
- https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311 (x_refsource_MISC)
- https://github.com/theskumar/python-dotenv/releases/tag/v1.2.2 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-28684?
- CVE-2026-28684 is a medium-severity vulnerability in Theskumar Python-dotenv, classified under Improper Link Resolution Before File Access. CVSS score: 6.6/10. Published 2026-04-20.
- How severe is CVE-2026-28684?
- Medium severity. CVSS v3 base score is 6.6 out of 10.