Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-28684

6.6 · MEDIUM
Published Apr 20, 2026 saurabh-kumar CWE-59

Overview

CVE-2026-28684 is a medium-severity vulnerability affecting saurabh-kumar python-dotenv. It was published on April 20, 2026 and has a CVSS 3.1 base score of 6.6 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.6, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from saurabh-kumar. Update python-dotenv to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
saurabh-kumar python-dotenv >= 0, < 1.2.2 Affected

Frequently Asked Questions

What is CVE-2026-28684?

CVE-2026-28684 is a medium-severity vulnerability affecting saurabh-kumar python-dotenv. It was published on April 20, 2026 and has a CVSS 3.1 base score of 6.6 (MEDIUM).

How severe is CVE-2026-28684?

This vulnerability has a CVSS 3.1 base score of 6.6, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-28684?

Check the references section for vendor advisories and patches from saurabh-kumar. Update python-dotenv to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-28684?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-28684 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.

Browse by year 2026