Skip to main content
← All vulnerabilities
CVE-2022-42906PYSEC-2026-898GHSA-W67G-6GJV-C599

powerline-gitstatus (aka Powerline Gitstatus) before 1.3.2 allows arbitrary code execution.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • powerline-gitstatusPyPI

    fixed in 1.3.2

References 3

GitHub · jaspernbrouwer/powerline-gitstatus

lists.debian.org