Live threats

All CVEs / Powerline Gitstatus Project

CVE-2022-42906Powerline Gitstatus Project Powerline Gitstatus

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 45
Auth required
Yes
Published
Oct 13, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Powerline Gitstatus.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI powerline-gitstatus < 1.3.2 1.3.2 pip install "powerline-gitstatus>=1.3.2"
PyPI powerline-gitstatus < 1.3.2 1.3.2 pip install "powerline-gitstatus>=1.3.2"

Per OSV / GitHub Advisories (GHSA-w67g-6gjv-c599, PYSEC-2026-898). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
powerline_gitstatus_projectpowerline_gitstatus< 1.3.2
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.