{"cve":"CVE-2022-42906","nvd":{"published":"2022-10-13T03:15:09.130","modified":"2026-06-17T05:05:34.447","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-77"],"references":["https://github.com/jaspernbrouwer/powerline-gitstatus/issues/45","https://github.com/jaspernbrouwer/powerline-gitstatus/releases/tag/v1.3.2","https://lists.debian.org/debian-lts-announce/2023/01/msg00017.html","https://github.com/jaspernbrouwer/powerline-gitstatus/issues/45","https://github.com/jaspernbrouwer/powerline-gitstatus/releases/tag/v1.3.2"],"products":["debian:debian_linux","powerline_gitstatus_project:powerline_gitstatus"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-42906","score":0.00477,"percentile":0.41227,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w67g-6gjv-c599","url":"https://osv.dev/vulnerability/GHSA-w67g-6gjv-c599","summary":"Powerline Gitstatus vulnerable to arbitrary code execution","modified":"2026-07-07T11:56:20.123796374Z","packages":[{"ecosystem":"PyPI","name":"powerline-gitstatus","purl":"pkg:pypi/powerline-gitstatus","ranges":["<1.3.2"],"fixed":["1.3.2"]}]},{"id":"PYSEC-2026-898","url":"https://osv.dev/vulnerability/PYSEC-2026-898","summary":"Powerline Gitstatus vulnerable to arbitrary code execution","modified":"2026-07-07T11:45:15.889782993Z","packages":[{"ecosystem":"PyPI","name":"powerline-gitstatus","purl":"pkg:pypi/powerline-gitstatus","ranges":["<1.3.2"],"fixed":["1.3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}