Security mailing lists by PureSourceCode

CVE-2025-58758

HIGH 7.3CVSS 3.1

TinyEnv: Missing .env file not required — may cause unexpected behavior

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
9 Sep 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-703
Also known as
GHSA-3j7m-5g4q-gfpc
Sources
NVDJSONOSV GHSA-3j7m-5g4q-gfpcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD datahihi1 tinyenv
cpe:2.3:a:datahihi1:tinyenv:*:*:*:*:*:*:*:*
>= 1.0.1, < 1.0.3 1.0.3
NVD datahihi1 tinyenv
cpe:2.3:a:datahihi1:tinyenv:*:*:*:*:*:*:*:*
>= 1.0.9, < 1.0.11 1.0.11
OSV Packagist datahihi1/tiny-env < 1.0.3 1.0.3
OSV Packagist datahihi1/tiny-env >= 1.0.9, < 1.0.11 1.0.11

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Sep 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.