🛡️ CVE-2025-58759
🟡 CVSS 5.1 — Medium ✅ No Known Exploit CWE-20 NVD
5.1
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity Medium
CVSS Score 5.1
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CWE CWE-20
Public Exploit ✅ No
Source NVD
Published 2025-09-09
Updated 2026-06-02
Modified 2025-09-10
Fix URL N/A

Affected Packages

Software From version Fixed in
datahihi1/tiny-env 1.0.9 1.0.11
tinyenv 1.0.9 1.0.11

Similar Threats

Vulnerability Monitoring

Stay informed about vulnerabilities in your stack

BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.