Vulnerability in Datahihi1 Tiny-Env
CVE-2025-58758
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.
EPSS: 0.002 (7.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
Affected products
- Datahihi1 Tiny-env — versions >= 1.0.1, < 1.0.3, >= 1.0.9, < 1.0.11
- Datahihi1 Tinyenv
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-58758?
- CVE-2025-58758 is a medium-severity vulnerability in Datahihi1 Tiny-Env, classified under CWE-703. CVSS score: 5.1/10. Published 2025-09-09.
- How severe is CVE-2025-58758?
- Medium severity. CVSS v3 base score is 5.1 out of 10.