CVE-2025-58758

CVE-2025-58758 is a medium-severity vulnerability in Datahihi1 Tinyenv with a CVSS 3.x base score of 5.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-703.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-58758?
CVE-2025-58758 has a CVSS 3.x base score of 5.1, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2025-58758 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (7th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-58758?
CVE-2025-58758 affects Datahihi1 Tinyenv. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-58758?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-58758 have an EU (EUVD) identifier?
Yes. CVE-2025-58758 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-27477.
When was CVE-2025-58758 published?
CVE-2025-58758 was published on 2025-09-09 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Datahihi1 Tinyenv

All CVEs affecting Datahihi1 Tinyenv →

Other CWE-703 vulnerabilities

Browse all CWE-703 vulnerabilities →