CVE-2025-58758
published medium CVSS 3.1 · 5.1TinyEnv: Missing .env file not required — may cause unexpected behavior
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| datahihi1 | — | tiny-env>= 1.0.1, < 1.0.3 · >= 1.0.9, < 1.0.11 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| datahihi1 | tiny-env | >= 1.0.1, < 1.0.3 (affected)>= 1.0.9, < 1.0.11 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-703 CWE-703: Improper Check or Handling of Exceptional Conditions
References
2Provider assertions
2GitHub_M · cna
TinyEnv: Missing .env file not required — may cause unexpected behavior
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9c7ff7315dbfb86a43f6d45aea9e88b17ecaaa3fa6b1b0781f3e915c7258aae7
- Ingested
- 23 Sep 2026, 08:54:07 UTC
- Source record
- Official CVE record