CVE-2025-58758Datahihi1 Tinyenv
High 7.3 No auth needed
Follow: this CVE · Datahihi1 · Datahihi1 Tinyenv We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 9, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-703
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Tinyenv.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | datahihi1/tiny-env |
< 1.0.3 |
1.0.3 |
composer require "datahihi1/tiny-env:^1.0.3" |
| Packagist | datahihi1/tiny-env |
≥ 1.0.9 < 1.0.11 |
1.0.11 |
composer require "datahihi1/tiny-env:^1.0.11" |
Per OSV / GitHub Advisories (GHSA-3j7m-5g4q-gfpc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| datahihi1 | tinyenv | ≥ 1.0.1 < 1.0.3 |
| datahihi1 | tinyenv | ≥ 1.0.9 < 1.0.11 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory