SecurityContext

CVE-2025-58758: TinyEnv - Misconfiguration

  • Cve: CVE-2025-58758
  • Name: TinyEnv - Misconfiguration
  • 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.
  • Impact: Applications may use insecure defaults or misconfigurations, potentially leading to security risks or operational issues.
  • Remediation: Upgrade to version 1.0.11 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: misconfiguration
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Epss score: 0.00186
  • Epss percentile: 0.08175
  • Assignee: [email protected]
  • Published at: 2025-09-09T20:15:49Z
  • Age in days: 441
  • Modified at: 2026-06-17T09:44:53Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-58758
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-703Improper Check or Handling of Exceptional Conditions

References

UrlSourceTags
https://github.com/datahihi1/tiny-env/commit/69b7b885e6cfbf07f470fb3512360e0caa95521envdPatch
https://github.com/datahihi1/tiny-env/security/advisories/GHSA-3j7m-5g4q-gfpcnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
datahihi1:tinyenv>= 1.0.9, < 1.0.11; >= 1.0.1, < 1.0.3nonvd/v1/products/datahihi1/tinyenv

Projects

RepositoryLink kindsIndexedUrl
datahihi1/tiny-envcommit, fix, package, security_advisoryyes/v1/repositories/datahihi1/tiny-env

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts