CVE-2025-58759: TinyEnv is an environment variable loader for PHP applications
CVE-2025-58759 is a medium-severity flaw (CVSS 5.1) affecting tinyenv. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.1 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2025-09-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-58759?
tinyenv: upgrade to 1.0.11. Exact commands for each OS are on this page.
Is CVE-2025-58759 being exploited?
CVE-2025-58759 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-58759 affect?
CVE-2025-58759 affects tinyenv. Severity is medium (CVSS 5.1). 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 con
How urgent is CVE-2025-58759?
Priority 21/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2025-58758 MEDIUM 5.1 UPGRADE TinyEnv is an environment variable loader for PHP applications