CVE-2025-58758: datahihi1 tiny-env · Improper Check or Handling of Exceptional Conditions
Affects datahihi1 tiny-envSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium · fixed in 1.0.11 : update datahihi1 tiny-env when convenient.
Data as of 22 Nov 2026, 21:14 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.11
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
AI-suggested
- Upgrade TinyEnv to version 1.0.11 or later immediately to ensure proper handling of missing .env files.
- Implement pre-initialization checks in application code to verify the existence and readability of the .env file before loading environment variables.
- Integrate configuration validation steps in deployment pipelines to detect missing or malformed .env files early.
- Employ monitoring and alerting for application misconfigurations or unexpected default values, especially for security-critical parameters.
- Conduct security reviews and audits of environment variable management practices to ensure no sensitive data is exposed due to misconfiguration.
- Educate development and operations teams about the importance of environment file management and the risks of silent failures in configuration loading.
- Use containerization or orchestration tools that enforce configuration file presence and integrity as part of deployment.
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.