Read the docs
TI-2022-16294 Aliases CVE-2022-35861GHSA-7rf7-7xf5-v9v3

pyenv 1.2.24 through 2.3.2 allows local users to gain privileges via a .python-version…

Priority LOW 34CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

pyenv 1.2.24 through 2.3.2 allows local users to gain privileges via a .python-version file in the current working directory. An attacker can craft a Python version string in .python-version to execute shims under their control. (Shims are executables that pass a command along to a specific version of pyenv. The version string is used to construct the path to the command, and there is no validation of whether the version specified is a valid version. Thus, relative path traversal can occur.)

Why it matters now

EPSS 0.00288 21st percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pyenv:pyenv:*:*:*:*:*:*:*:*1.2.24 – 2.3.2Vulnerablepyenv
  • cpe:2.3:a:pyenv:pyenv:*:*:*:*:*:*:*:* Versions 1.2.24 – 2.3.2 Vulnerable ·pyenv

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-35861
  2. 2026-10-03 Alias added: GHSA-7rf7-7xf5-v9v3

References

Sources