Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-58758: TinyEnv is an environment variable loader for PHP applications

20
Routine
MEDIUM 5.1UPGRADE

CVE-2025-58758 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.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 la

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score5.1 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.2% (top 92%)
CISA exploited listNo
WeaknessCWE-703
Published2025-09-09
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: datahihi1

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

datahihi1 tinyenv UPGRADE
Affected: >= 1.0.1 and < 1.0.3 · >= 1.0.9 and < 1.0.11
Fixed in: 1.0.3, 1.0.11
Safe to downgrade to: a release before 1.0.1
1. Check installed version
apt-cache policy tinyenv || rpm -q tinyenv || tinyenv --version
2. UPGRADE to 1.0.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade tinyenv
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade tinyenv
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.0.1 (Debian / Ubuntu)
apt-cache madison tinyenv sudo apt install tinyenv=<VERSION_BEFORE_1.0.1> sudo apt-mark hold tinyenv
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list tinyenv sudo dnf downgrade tinyenv-<VERSION_BEFORE_1.0.1> sudo dnf versionlock add tinyenv
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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-58758?

tinyenv: upgrade to 1.0.3, 1.0.11. Exact commands for each OS are on this page.

Is CVE-2025-58758 being exploited?

CVE-2025-58758 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-58758 affect?

CVE-2025-58758 affects tinyenv. Severity is medium (CVSS 5.1). 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 t

How urgent is CVE-2025-58758?

Priority 20/100. No elevated risk signals yet.

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.