CVE-2026-68939
published low CVSS 4.0 · 2.0Pyenv: Glob/wildcard metacharacters bypass is_version_safe(), causing silent version/interpreter substitution via unquoted expansion (CVE-2022-35861 residual)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pyenv | — | pyenv< 2.8.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pyenvaarch64 | Advisory build | 2.4.14-bp160.2.1 | OPENSUSE-SU-2026:21664-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pyenvppc64le | Advisory build | 2.4.14-bp160.2.1 | OPENSUSE-SU-2026:21664-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pyenvs390x | Advisory build | 2.4.14-bp160.2.1 | OPENSUSE-SU-2026:21664-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pyenvx86_64 | Advisory build | 2.4.14-bp160.2.1 | OPENSUSE-SU-2026:21664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenvaarch64 | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenvppc64le | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenvs390x | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenvx86_64 | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pyenv-bash-completionnoarch | Advisory build | 2.4.14-bp160.2.1 | OPENSUSE-SU-2026:21664-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pyenv-fish-completionnoarch | Advisory build | 2.4.14-bp160.2.1 | OPENSUSE-SU-2026:21664-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pyenv-zsh-completionnoarch | Advisory build | 2.4.14-bp160.2.1 | OPENSUSE-SU-2026:21664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-bash-completionaarch64 | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-bash-completionppc64le | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-bash-completions390x | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-bash-completionx86_64 | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-fish-completionaarch64 | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-fish-completionppc64le | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-fish-completions390x | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-fish-completionx86_64 | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-zsh-completionaarch64 | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-zsh-completionppc64le | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-zsh-completions390x | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pyenv-zsh-completionx86_64 | Advisory build | 2.8.4-1.1 | OPENSUSE-SU-2026:11613-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pyenv | pyenv | < 2.8.0 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
- CWE-155 CWE-155: Improper Neutralization of Wildcards or Matching Symbols
References
3Provider assertions
2GitHub_M · cna
Pyenv: Glob/wildcard metacharacters bypass is_version_safe(), causing silent version/interpreter substitution via unquoted expansion (CVE-2022-35861 residual)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 49b5c96bc93377ebe5c92440328ef5bcbb17c09b6d2820eaf75a531f1e4a25bb
- Ingested
- 23 Sep 2026, 09:27:38 UTC
- Source record
- Official CVE record