Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. datahihi1/tiny-env
  4. ›
  5. CVE-2025-58758

CVE-2025-58758: TinyEnv: Missing .env file not required — may cause unexpected behavior

September 9, 2025 (updated September 10, 2025)

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

References

  • github.com/advisories/GHSA-3j7m-5g4q-gfpc
  • github.com/datahihi1/tiny-env
  • github.com/datahihi1/tiny-env/commit/69b7b885e6cfbf07f470fb3512360e0caa95521e
  • github.com/datahihi1/tiny-env/commit/7dc656c58bef6050afb8f7a395e38227e31a66df
  • github.com/datahihi1/tiny-env/security/advisories/GHSA-3j7m-5g4q-gfpc
  • nvd.nist.gov/vuln/detail/CVE-2025-58758

Code Behaviors & Features

Detect and mitigate CVE-2025-58758 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.3, all versions starting from 1.0.9 before 1.0.11

Fixed versions

  • 1.0.3
  • 1.0.11

Solution

Upgrade to versions 1.0.11, 1.0.3 or above.

Impact 5.1 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-703: Improper Check or Handling of Exceptional Conditions

Source file

packagist/datahihi1/tiny-env/CVE-2025-58758.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:45 +0000.