CVE-2026-28684 — Arbitrary File Access
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 attacker to overwrite arbitrary files via a craf
What This Means For You
- If your environment is affected by CWE-59, CWE-61, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-28684 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
Arbitrary File Overwrite via python-dotenv symlink - CVE-2026-28684
Sigma YAML — free preview
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-28684 | vulnerability | CVE-2026-28684 |
| CWE-59 | weakness | CWE-59 |
| CWE-61 | weakness | CWE-61 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 20, 2026 at 20:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.