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

Weakness classification (CWE)

References

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.