Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-28684 Details

Description

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 attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-59Improper Link Resolution Before File Access ('Link Following')[email protected]
CWE-61UNIX Symbolic Link (Symlink) Following[email protected]

Affected Products

ProductVersions
saurabh-kumar python-dotenv
< 1.2.2

CPE

  • cpe:2.3:a:saurabh-kumar:python-dotenv:*:*:*:*:*:python:*:*

Remediation

  • No remediation found in references.

Change History

5 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-28684
NVD Published Date:
Apr 20, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2026-28684 Details - Not Deferred