CVE-2026-28684
saurabh-kumar python-dotenv
Patch priority
RegularFix with the next regular update.
- CVSS
- 6.6
- Severity
- 6.6
- EPSS
- 0.3 %
- Percentile
- 19
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run saurabh-kumar python-dotenv. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDpython-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.
- Vendor / product
- saurabh-kumar python-dotenv
- Published
- 20.04.2026
- Modified
- 26.10.2026
- CWE
- CWE-59
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Vendor updates
9- Red Hat: RHSA-2026:87410 – RHSA-2026:87410 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:c6e5097504395b9b122dd8d20f28070e92d962af9df7d2 … 21.10.2026 · Patch day
- Red Hat: RHSA-2026:73987 – RHSA-2026:73987 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:bf08b9713fb677f4b3605c29ac85fcabc4d41d085b6053 … 30.09.2026 · Patch day
- Red Hat: RHSA-2026:61628 – RHSA-2026:61628 registry.redhat.io/rhaiis/model-opt-cuda-rhel9@sha256:c17e6f7e40e6de8a08799b65ce90092d09340dd7f92378ca26dd … 31.08.2026 · Patch day
- Red Hat: RHSA-2026:43038 – RHSA-2026:43038 registry.redhat.io/mta/mta-analyzer-addon-rhel9@sha256:1e20ac649ee7fdcdad9930b1f0384e10c8794db9a2f211d4e3d … 22.07.2026 · Patch day
- Red Hat: RHSA-2026:42644 – RHSA-2026:42644 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:b20ad3101920dd67f16da5aa44feaa3adf34dc78515434 … 21.07.2026 · Patch day
- Red Hat: RHSA-2026:37275 – RHSA-2026:37275 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:e90f9cdda706ae1c21b009dd3bfa080db3b06f8b4dd70f … 09.07.2026 · Patch day
- SUSE: SUSE-SU-2026:2724-1 – Security update for python-python-dotenv 02.07.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:22118-1 – Security update for python-python-dotenv 16.06.2026 · MEDIUM · Patch day
- Red Hat: RHSA-2026:26226 – RHSA-2026:26226 registry.redhat.io/satellite/iop-host-inventory-rhel9@sha256:fe7bad4091d1e22b940b6f5cda351b4f0e92c0ff6107c … 16.06.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.