{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-58758","id":"CVE-2025-58758","title":"TinyEnv: Missing .env file not required — may cause unexpected behavior","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 versio","descriptionLong":"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.","published":"2025-09-09T19:50:18.518Z","updated":"2026-10-28T02:30:56.046421533Z","reserved":"2025-09-04T19:18:09.500Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"NVD"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["datahihi1 tiny-env"],"affectedProducts":[{"vendor":"datahihi1","product":"tiny-env","defaultStatus":null,"versions":[{"version":">= 1.0.1, < 1.0.3","status":"affected"},{"version":">= 1.0.9, < 1.0.11","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"datahihi1/tiny-env","purl":"pkg:composer/datahihi1/tiny-env","ranges":["<1.0.3",">=1.0.9 <1.0.11"],"fixed":["1.0.3","1.0.11"],"advisory":"GHSA-3j7m-5g4q-gfpc"}],"cwes":["CWE-703"],"aliases":["GHSA-3j7m-5g4q-gfpc"],"references":[{"url":"https://github.com/datahihi1/tiny-env/security/advisories/GHSA-3j7m-5g4q-gfpc","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/datahihi1/tiny-env/commit/69b7b885e6cfbf07f470fb3512360e0caa95521e","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58758.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58758","tags":["advisory"]},{"url":"https://github.com/datahihi1/tiny-env/commit/7dc656c58bef6050afb8f7a395e38227e31a66df","tags":["web"]},{"url":"https://github.com/datahihi1/tiny-env","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00186,"epssPercentile":0.08315,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-58758","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58758","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-58758","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3j7m-5g4q-gfpc","ok":true,"note":"GHSA-3j7m-5g4q-gfpc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-58758","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}