CVE-20XX-?

CVE-2026-28684

6.6 MEDIUM 0.3% exploit odds Fix listed Other

What it is

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.

At a glance

Exploitability
Can be exploited locally on the machine with a low-privilege account, but needs a user to act. High risk of data tampering, service disruption.
Exploit odds
0.3% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Details

Published
Last modified
Exploit probability
0.3% · EPSS, next 30 days
Weakness
CWE-59
Record status
Analyzed

Affected

Attack profile CVSS 3.1 · 6.6

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
Raw vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H

Meme: I wake up, CVE-2026-28684
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record