CVE-2026-28684Disclosure(saurabh-kumar / python-dotenv)

LOWCVSS 6.6 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch saurabh-kumar python-dotenv systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-59CWE-61

Priority

LOW

Exploitation

NONE

PoC

YES

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • python-dotenv

Threat summary

  • Patch or workaround signal is available
  • 2 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • Peaked 1d ago at 1 mentions (2026-04-20); latest day: 1
  • 2 total mentions across 2 days

Affected systems

Products
python-dotenv

Deep dive

Activity timeline2 mentions / 2d
00111Mentions · 2026-04-20: 1Mentions · 2026-04-21: 1Patch / Workaround · 2026-04-21: 1Technical Details · 2026-04-20: 1Technical Details · 2026-04-21: 104-2004-21
Signal classification1 categories
Disclosure
2100.0%
Referenced assets2 URLs
Full discourse2 posts
  • CVE@CVEnew
    Disclosure

    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… https://www.cve.org/CVERecord?id=CVE-2026-28684

    Post summary

    The text discloses that python-dotenv, before version 1.2.2, can read .env files and set environment variables via set_key() and unset_key(), and upgrading to 1.2.2 resolves the issue.

    00000115
    57.2K followersView on X
  • Vulmon Vulnerability Feed@VulmonFeeds
    Disclosure

    CVE-2026-28684 Arbitrary File Overwrite in python-dotenv via Symbolic Link Following https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-28684

    Post summary

    The text announces CVE-2026-28684 as an arbitrary file overwrite vulnerability in python-dotenv via symbolic link following, without detailing PoC, exploit tools, active use, or mitigation.

    0000031
    4.0K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appsaurabh-kumarpython-dotenv-python-

Explore more