{"id":"CVE-2025-58758","published":"2025-09-09T19:50:18Z","modified":"2025-09-10T20:14:26Z","title":"TinyEnv: Missing .env file not required — may cause unexpected behavior","vendor":"datahihi1","product":"tiny-env","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00186,"percentile":0.0838,"provenance":"source"},"cwes":[{"id":"CWE-703","name":"Improper Check or Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/datahihi1/tiny-env/security/advisories/GHSA-3j7m-5g4q-gfpc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/datahihi1/tiny-env/commit/69b7b885e6cfbf07f470fb3512360e0caa95521e","tags":["x_refsource_MISC"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":1.68},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"datahihi1","affectedVersions":[{"vendor":"datahihi1","product":"tiny-env","versions":[">= 1.0.1, < 1.0.3",">= 1.0.9, < 1.0.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-10T20:14:12.293359Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"datahihi1/tiny-env","vulnerableRanges":["<1.0.3",">=1.0.9, <1.0.11"],"patched":["1.0.3","1.0.11"],"from":["GHSA-3j7m-5g4q-gfpc"],"provenance":"source"}],"summary":{"text":"TinyEnv, an environment variable loader for PHP applications by datahihi1, does not require its .env file to exist in versions 1.0.1, 1.0.2, 1.0.9, and 1.0.10, so a missing file goes unnoticed. An attacker with local access and no privileges could exploit this without user interaction, but only where a deployment is missing the file, which can lead the application to silently fall back to insecure defaults or misconfigured behavior.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:08Z"},"euvd":{"id":"EUVD-2025-27477","exploited":false,"provenance":"source"}}