packagist package report

Is datahihi1/tiny-env safe?

2 known vulnerabilities, worst severity MODERATE.

// reach

0 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 model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so packagist packages are not covered.


      cvss
      5.1
      medium

      CVSS v3.1 base score out of 10

      epss
      0.19%
      low

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

      xyz score
      not scored

      CyberXYZ composite out of 10

      fig. 01 — GHSA-3j7m-5g4q-gfpc, the advisory selected below

      // 2 advisories

      GHSA-3j7m-5g4q-gfpc

      MODERATEGitHub ratingCVE-2025-58758
      // impact

      TinyEnv did not require the .env file to exist when loading environment variables. This could lead to unexpected behavior where the application silently ignores missing configuration, potentially causing insecure defaults or deployment misconfigurations.

      Affected versions:

      • 1.0.1 → 1.0.2
      • 1.0.9 → 1.0.10
      // patches

      The issue has been fixed in version 1.0.11. All users should upgrade to 1.0.11 or later.

      // workarounds

      As a workaround, users can manually verify the existence of the .env file before initializing TinyEnv, for example:

      if (!file_exists(__DIR__ . '/.env')) {
          throw new RuntimeException('.env file is missing!');
      }
      // cvss v3.1 vector

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

      Attack vector
      Local
      Attack complexity
      Low
      Privileges required
      None
      User interaction
      None
      Scope
      Unchanged
      Confidentiality
      Low
      Integrity
      Low
      Availability
      None

      Checked 2026-11-07 at 21:51 UTC. The most recent advisory here was published 2025-09-09. Updated continuously from NVD, GHSA, OSV and CNA feeds.

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