{"id":"CVE-2026-68939","published":"2026-08-18T15:11:10Z","modified":"2026-08-18T18:46:12Z","title":"Pyenv: Glob/wildcard metacharacters bypass is_version_safe(), causing silent version/interpreter substitution via…","vendor":"pyenv","product":"pyenv","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00173,"percentile":0.06941,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"},{"id":"CWE-155","name":"Improper Neutralization of Wildcards or Matching Symbols"}],"references":[{"url":"https://github.com/pyenv/pyenv/security/advisories/GHSA-g478-f579-9vp9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pyenv/pyenv/commit/95df7dbc7b34595b47c9b922de198547effda819","tags":["x_refsource_MISC"]},{"url":"https://github.com/pyenv/pyenv/releases/tag/v2.8.0","tags":["x_refsource_MISC"]}],"priority":{"score":2.8,"factors":[{"name":"EPSS percentile","points":1.39},{"name":"CVSS severity","points":1.4}]},"vendorSlug":"pyenv","affectedVersions":[{"vendor":"pyenv","product":"pyenv","versions":["< 2.8.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-18T18:45:54.610692Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-60955","exploited":false,"provenance":"source"}}