OS Command Injection Affecting pyenv package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.17% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PYENV-18960051
  • published19 Aug 2026
  • disclosed18 Aug 2026

Introduced: 18 Aug 2026

CVE-2026-68939  (opens in a new tab)
CWE-78  (opens in a new tab)
CWE-88  (opens in a new tab)
CWE-155  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest pyenv.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pyenv package and not the pyenv package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Pyenv provides simple Python version management. Prior to 2.8.0, is_version_safe() in libexec/pyenv-version-file-read accepts shell glob metacharacters in .python-version values, and unquoted PYENV_VERSION expansion in libexec/pyenv-version-name, libexec/pyenv-which, libexec/pyenv-prefix, libexec/pyenv-local, libexec/pyenv-global, libexec/pyenv-version, and libexec/pyenv-versions pathname-expands the value against the current directory, allowing a matching attacker-controlled file to silently select a different installed interpreter or version. This issue is fixed in version 2.8.0.