Environment Variable Loader Vulnerability in TinyEnv by datahihi1
CVE-2025-58758

5.1MEDIUM

Key Information:

Vendor

Datahihi1

Status
Vendor
CVE Published:
9 September 2025

What is CVE-2025-58758?

The TinyEnv environment variable loader for PHP applications has a notable issue in versions 1.0.1 through 1.0.10 where it does not enforce the existence of the '.env' file when loading environment variables. This oversight can lead to scenarios where missing configuration files are ignored, resulting in insecure defaults or erroneous deployment settings. Users are strongly urged to upgrade to version 1.0.11 or later to mitigate these risks. To ensure application security in the interim, users should manually verify that the '.env' file exists before initializing TinyEnv.

Affected Version(s)

tiny-env >= 1.0.1, < 1.0.3 < 1.0.1, 1.0.3

tiny-env >= 1.0.9, < 1.0.11 < 1.0.9, 1.0.11

References

CVSS V3.1

Score:
5.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-58758 : Environment Variable Loader Vulnerability in TinyEnv by datahihi1