synced 10 MIN AGO
01 Record

CVE-2026-28684

python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback

MediumPUBLISHEDCNA: GitHub_M
CNA base score6.6 CVSS v3.xCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H

02 Description

python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.25% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 16.5% of scored records. A rank, not a probability.
NVD base score
6.6 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-10-26.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2026-04-20 16:25Z6 MO AGO
Last updated
2026-04-20 17:43Z6 MO AGO
Reserved
2026-03-02
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
Medium (CVSS 6.6)
CNA CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Weaknesses
  • CWE-59Improper Link Resolution Before File Access ('Link Following')Base
  • CWE-61UNIX Symbolic Link (Symlink) FollowingCompound
Data version
5.2
Document digest
3365bdfee77e7b438fb847309d0ba543a941e61c125174133d6e06a03c64a3ba

05 Affected products

VendorProductVersionsPlatforms
theskumarpython-dotenv< 1.2.2—

06 References

07 Fixed in

Debian 12

  • python-dotenv
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • python-dotenv
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • python-dotenv
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • python-dotenv
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • python-dotenv
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • python-dotenv
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • python-dotenv
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • python-dotenv
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • python-dotenv
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • python-dotenv
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.