All CVEs / Powerline Gitstatus Project
CVE-2022-42906Powerline Gitstatus Project Powerline Gitstatus
High 7.8
Follow: this CVE · Powerline Gitstatus Project · Powerline Gitstatus Project Powerline Gitstatus We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Powerline Gitstatus.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| powerline_gitstatus_project | powerline_gitstatus | < 1.3.2 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Release Notes
- lists.debian.org Mailing List Third Party Advisory