CVE-2026-68939

Pyenv: Glob/wildcard metacharacters bypass is_version_safe(), causing silent version/interpreter substitution via unquoted expansion (CVE-2022-35861 residual)

LOW
2
CVSS Score
Published: August 18, 2026 at 03:11 PM UTC
Updated: September 18, 2026 at 08:19 PM UTC
1 product affected across 1 vendorPyenv

Using pyenv by pyenv?

Get instant alerts when new vulnerabilities affect pyenv - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW2
Exploit prediction
EPSS 0.2%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.8.0
Affected range stops below 2.8.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

2LOWGitHub_M
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-78CWE-88CWE-155

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card