CVE-2025-58758 Details
Description
TinyEnv is an environment variable loader for PHP applications. In versions 1.0.1, 1.0.2, 1.0.9, and 1.0.10, 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. The issue has been fixed in version 1.0.11. All users should upgrade to 1.0.11 or later. As a workaround, users can manually verify the existence of the `.env` file before initializing TinyEnv.
A vulnerability exists in TinyEnv, a PHP environment variable loader, in versions 1.0.1, 1.0.2, 1.0.9, and 1.0.10. The issue arises because TinyEnv did not require the .env file to be present when loading environment variables. This oversight could lead to unexpected application behavior, where missing configurations are silently ignored, potentially resulting in insecure defaults or deployment misconfigurations.
Users can upgrade to TinyEnv version 1.0.11 or later, where this issue has been fixed. As a workaround, users can manually check for the existence of the .env file before initializing TinyEnv.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-703 | Improper Check or Handling of Exceptional Conditions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| datahihi1 tinyenv | >= 1.0.1, < 1.0.3 >= 1.0.9, < 1.0.11 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 8, 2025 | Initial Analysis | [email protected] |
| Sep 9, 2025 | New CVE Received | [email protected] |