pypi package report

Is python-dotenv safe?

python-dotenv (pypi) has 1 known vulnerability, the worst rated MODERATE. Upgrade to 1.2.2 or later to clear it. No malicious-package signal is recorded.

// reach

1 direct dependencies

none carry a known advisory

    0 packages depend on it

    dependents not yet indexed for this ecosystem

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai models

      1 published models carry an advisory from this package

      0 pin a version the advisory is confirmed against; the rest declare it without a version.

      dbdmg/wav2vec2-xls-r-300m-italianMEDIUMnot pinned

      2 published models

      2 declared · 1 observed · 0 inferred

      ModelEvidence
      perplexity-ai/pplx-decider-v1.1-27bdeclared
      dbdmg/wav2vec2-xls-r-300m-italianobserved

      2 published AI models are associated with this package: 2 name it in a requirements or pyproject file, 1 load it or import it directly, and 0 are inferred from the runtime stack their declared library pulls in. Only 2 state a version requirement, so this is not a count of affected models.


      cvss
      6.6
      medium

      CVSS v3.1 base score out of 10

      epss
      0.25%
      low

      chance of exploitation in 30 days, 17th percentile of all CVEs

      xyz score
      not scored

      CyberXYZ composite out of 10

      fig. 01 — GHSA-mf9w-mj56-hr94, the advisory selected below

      // 1 advisories

      setkey() and unsetkey() in python-dotenv follow symbolic links when rewriting .env files, allowing a local attacker to overwrite arbitrary files via a crafted…

      Full advisory text at GitHub advisory or NVD.

      // cvss v3.1 vector

      CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H

      Attack vector
      Local
      Attack complexity
      Low
      Privileges required
      Low
      User interaction
      Required
      Scope
      Unchanged
      Confidentiality
      None
      Integrity
      High
      Availability
      High
      // questions
      Is python-dotenv safe to install?

      CyberXYZ does not call a package safe in absolute terms. It records 1 known vulnerability for python-dotenv (pypi), the worst rated MODERATE, and no malicious-package signal. Whether it is acceptable depends on the version you run.

      Does python-dotenv have known vulnerabilities?

      Yes. CyberXYZ records 1 known vulnerability for python-dotenv (pypi), the worst rated MODERATE. They are GHSA-mf9w-mj56-hr94.

      Which version of python-dotenv should I use?

      1.2.2 or later clears every advisory recorded for python-dotenv (pypi). Check the release you pick before installing it.

      How do I check python-dotenv before installing?

      Search python-dotenv in CyberXYZ Check at https://cyberxyz.io/check?q=python-dotenv. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


      Checked 2026-11-14 at 10:01 UTC. The most recent advisory here was published 2026-04-21. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.