Upstream information

CVE-2026-28684 at MITRE

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.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 6.6 6.6
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Attack Vector Local Local
Attack Complexity Low Low
Privileges Required Low Low
User Interaction Required Required
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3.1 3.1
CVSS v4 Scores
CVSS detail SUSE
Base Score 5.2
Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Attack Vector Local
Attack Complexity Low
Attack Requirements None
Privileges Required Low
User Interaction Active
Vulnerable System Confidentiality Impact None
Vulnerable System Integrity Impact High
Vulnerable System Availability Impact High
Subsequent System Confidentiality Impact None
Subsequent System Integrity Impact None
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1262423 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP7 python-python-dotenv Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 python-python-dotenv Affected
SUSE Linux Enterprise Module for Python 3 15 SP7 python-python-dotenv Affected
SUSE Linux Enterprise Server 15 SP7 python-python-dotenv Affected
SUSE Linux Enterprise Server 16.0 python-python-dotenv In progress
SUSE Linux Enterprise Server 16.1 python-python-dotenv Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 python-python-dotenv Affected
SUSE Linux Enterprise Server for SAP applications 16.0 python-python-dotenv In progress
SUSE Linux Enterprise Server for SAP applications 16.1 python-python-dotenv Affected
openSUSE Leap 15.6 python-python-dotenv Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP4 python-python-dotenv Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-python-dotenv Affected
SUSE Linux Enterprise High Performance Computing 15 SP5 python-python-dotenv Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS python-python-dotenv Affected
SUSE Linux Enterprise Module for Python 3 15 SP4 python-python-dotenv Affected
SUSE Linux Enterprise Module for Python 3 15 SP5 python-python-dotenv Affected
SUSE Linux Enterprise Module for Python 3 15 SP6 python-python-dotenv Affected
SUSE Linux Enterprise Server 15 SP4 python-python-dotenv Affected
SUSE Linux Enterprise Server 15 SP4-LTSS python-python-dotenv Affected
SUSE Linux Enterprise Server 15 SP5 python-python-dotenv Affected
SUSE Linux Enterprise Server 15 SP5-LTSS python-python-dotenv Affected
SUSE Linux Enterprise Server 15 SP6 python-python-dotenv Affected
SUSE Linux Enterprise Server 15 SP6-LTSS python-python-dotenv Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python-python-dotenv Affected
SUSE Manager Proxy 4.3 python-python-dotenv Affected
SUSE Manager Retail Branch Server 4.3 python-python-dotenv Affected
SUSE Manager Server 4.3 python-python-dotenv Affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise Desktop 15 SP4 python-python-dotenv Affected
SUSE Linux Enterprise Desktop 15 SP5 python-python-dotenv Affected
SUSE Linux Enterprise Desktop 15 SP6 python-python-dotenv Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-python-dotenv Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS python-python-dotenv Affected
SUSE Linux Enterprise High Performance Computing 15 SP6 python-python-dotenv Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-python-dotenv Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-python-dotenv Affected
openSUSE Leap 15.4 python-python-dotenv Affected
openSUSE Leap 15.5 python-python-dotenv Affected


SUSE Timeline for this CVE

CVE page created: Mon Apr 20 20:05:49 2026
CVE page last modified: Tue Apr 21 16:57:13 2026