{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-35861","published":"2022-07-17T17:15:08.233000Z","last_modified":"2026-06-17T04:52:24.920000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:pyenv:pyenv:*:*:*:*:*:*:*:*","part":"a","vendor":"pyenv","product":"pyenv","version_start_including":"1.2.24","version_end_including":"2.3.2"}],"cpes_truncated":false,"vendors":["pyenv"],"products":["pyenv/pyenv"],"epss":{"score":0.00295,"percentile":0.23778,"date":"2026-12-02","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2022-35861/","html_en":"/en/cve/CVE-2022-35861/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-35861","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-35861"},"untrusted":{"vendor_name":"Pyenv","product_name":"Pyenv","desc_en":"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.)","affected":[],"references":[{"url":"https://github.com/pyenv/pyenv/commit/22fa683571d98b59ea16e5fe48ac411c67939653","tags":["Patch"]}]}}