Vulnerability in Saurabh-kumar 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.002 (14.5th 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
- Saurabh-kumar Python-dotenv
- Theskumar Python-dotenv — versions < 1.2.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-28684?
- CVE-2026-28684 is a medium-severity vulnerability in Saurabh-kumar 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.