{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-42906","published":"2022-10-13T03:15:09.130000Z","last_modified":"2026-06-17T05:05:34.447000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-77"],"cpes":[{"criteria":"cpe:2.3:a:powerline_gitstatus_project:powerline_gitstatus:*:*:*:*:*:*:*:*","part":"a","vendor":"powerline_gitstatus_project","product":"powerline_gitstatus","version_end_excluding":"1.3.2"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["powerline_gitstatus_project","debian"],"products":["powerline_gitstatus_project/powerline_gitstatus","debian/debian_linux"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00632,"percentile":0.44826,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w67g-6gjv-c599","ecosystem":"PyPI","name":"powerline-gitstatus","purl":"pkg:pypi/powerline-gitstatus","ranges":[{"introduced":"0","fixed":"1.3.2"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.2.0","1.2.1","1.3.0","1.3.1"],"versions_truncated":false},{"advisory":"PYSEC-2026-898","ecosystem":"PyPI","name":"powerline-gitstatus","purl":"pkg:pypi/powerline-gitstatus","ranges":[{"introduced":"0","fixed":"1.3.2"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.2.0","1.2.1","1.3.0","1.3.1"],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2022-42906/","html_en":"/en/cve/CVE-2022-42906/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-42906","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-42906"},"untrusted":{"vendor_name":"Powerline Gitstatus Project","product_name":"Powerline Gitstatus","desc_en":"powerline-gitstatus (aka Powerline Gitstatus) before 1.3.2 allows arbitrary code execution. git repositories can contain per-repository configuration that changes the behavior of git, including running arbitrary commands. When using powerline-gitstatus, changing to a directory automatically runs git commands in order to display information about the current repository in the prompt. If an attacker can convince a user to change their current directory to one controlled by the attacker, such as in a shared filesystem or extracted archive, powerline-gitstatus will run arbitrary commands under the attacker's control. NOTE: this is similar to CVE-2022-20001.","affected":[],"references":[{"url":"https://github.com/jaspernbrouwer/powerline-gitstatus/issues/45","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/jaspernbrouwer/powerline-gitstatus/releases/tag/v1.3.2","tags":["Release Notes"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00017.html","tags":["Mailing List","Third Party Advisory"]}]}}