DEBIAN-CVE-2026-28684

Source
https://security-tracker.debian.org/tracker/CVE-2026-28684
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-28684.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-28684
Upstream
Published
2026-04-20T17:16:33Z
Modified
2026-09-14T17:03:02Z
Severity
  • 6.6 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / python-dotenv

Package

Name
python-dotenv
Purl
pkg:deb/debian/python-dotenv?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.21.0-1
1.*
1.0.0-1
1.0.1-1
1.2.1-1
1.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-28684.json"

Debian:13 / python-dotenv

Package

Name
python-dotenv
Purl
pkg:deb/debian/python-dotenv?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.1-1
1.2.1-1
1.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-28684.json"

Debian:14 / python-dotenv

Package

Name
python-dotenv
Purl
pkg:deb/debian/python-dotenv?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.1-1
1.2.1-1
1.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-28684.json"