Read the docs
TI-2022-20902 Aliases CVE-2022-42906GHSA-w67g-6gjv-c599

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

Priority LOW 37CWE-77Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-77.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00477 41st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed powerline-gitstatus (PyPI): 1.3.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—powerline-gitstatus (PyPI)before 1.3.21.3.2Patch availableGHSA-w67g-6gjv-c599
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • powerline-gitstatus (PyPI) Vendor— Affected before 1.3.2 Fixed in 1.3.2 Patch available GHSA-w67g-6gjv-c599

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:powerline_gitstatus_project:powerline_gitstatus:*:*:*:*:*:*:*:*before 1.3.2VulnerablePowerline Gitstatus Project
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:powerline_gitstatus_project:powerline_gitstatus:*:*:*:*:*:*:*:* Versions before 1.3.2 Vulnerable ·Powerline Gitstatus Project
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-w67g-6gjv-c599 powerline-gitstatus (PyPI) Fixed in 1.3.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-42906
  2. 2026-10-03 Alias added: GHSA-w67g-6gjv-c599

References

Sources