CVE-2025-58758
Last modified
CVE-2025-58758 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Datahihi1 | Tinyenv | >= 1.0.1, < 1.0.3 |
| Datahihi1 | Tinyenv | >= 1.0.9, < 1.0.11 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-58758?
How severe is CVE-2025-58758?
How do I fix CVE-2025-58758?
Are you affected by CVE-2025-58758?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
