Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. datahihi1/tiny-env
  4. ›
  5. CVE-2025-58759

CVE-2025-58759: TinyEnv: Inline comments not stripped properly in .env values

September 9, 2025 (updated September 10, 2025)

TinyEnv did not properly strip inline comments inside .env values. This could lead to unexpected behavior or misconfiguration, where variables contain unintended characters (including # or comment text). Applications depending on strict environment values may expose logic errors, insecure defaults, or failed authentication.

References

  • github.com/advisories/GHSA-72cm-7236-h43r
  • github.com/datahihi1/tiny-env
  • github.com/datahihi1/tiny-env/commit/69b7b885e6cfbf07f470fb3512360e0caa95521e
  • github.com/datahihi1/tiny-env/security/advisories/GHSA-72cm-7236-h43r
  • nvd.nist.gov/vuln/detail/CVE-2025-58759

Code Behaviors & Features

Detect and mitigate CVE-2025-58759 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.9 before 1.0.11

Fixed versions

  • 1.0.11

Solution

Upgrade to version 1.0.11 or above.

Impact 5.1 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

packagist/datahihi1/tiny-env/CVE-2025-58759.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 03 Oct 2025 12:17:47 +0000.