CVE-2025-58759

CVE-2025-58759 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-20.

Key facts

Description

TinyEnv is an environment variable loader for PHP applications. In versions 1.0.9 and 1.0.10, TinyEnv did not properly strip inline comments inside .env values. This could lead to unexpected behavior or misconfiguration, where variables contain unintended characters (including # or comment text). Applications depending on strict environment values may expose logic errors, insecure defaults, or failed authentication. The issue is fixed in v1.0.11. Users should upgrade to the latest patched version. As a temporary workaround, avoid using inline comments in .env files, or sanitize loaded values manually.

Frequently asked questions

What is CVE-2025-58759?
TinyEnv is an environment variable loader for PHP applications. In versions 1.0.9 and 1.0.10, TinyEnv did not properly strip inline comments inside .env values. This could lead to unexpected behavior or misconfiguration, where variables contain unintended characters (including # or comment text). Applications depending on strict environment values may expose logic errors, insecure defaults, or failed authentication. The issue is fixed in v1.0.11. Users should upgrade to the latest patched version. As a temporary workaround, avoid using inline comments in .env files, or sanitize loaded values manually.
How severe is CVE-2025-58759?
CVE-2025-58759 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-58759 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (9th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-58759?
CVE-2025-58759 affects Datahihi1 Tinyenv. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-58759?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-58759 have an EU (EUVD) identifier?
Yes. CVE-2025-58759 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-27476.
When was CVE-2025-58759 published?
CVE-2025-58759 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-20 (Improper Input Validation) vulnerabilities

Browse all CWE-20 (Improper Input Validation) vulnerabilities →