CVE Monitoring DEENSign in

← Back to overview

CVE-2026-28684

6.6 · Medium

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.

Affected products

ProductVendorSources
ConcertIBMBSI WID
Db2IBMBSI WID
Enterprise LinuxRed HatBSI WID
License Metric ToolIBMBSI WID
Linux KernelOracleBSI WID
Python-dotenvSaurabh-kumarNVD
QRadar SIEMIBMBSI WID
SoarSplunkBSI WID

Normalised: without version constraints and vendor prefix, unified spelling. Affected versions are listed in the original sources.

Description per source

BSI WID – WID-SEC-W-2026-2933
Splunk SOAR: Mehrere Schwachstellen

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

SourceReferenceScorePublishedUpdatedLink
BSI WIDWID-SEC-W-2026-2933High 2026-08-20 00:002026-11-03 00:00Open ↗
NVDCVE-2026-286846.6 2026-04-20 19:162026-10-26 22:10Open ↗