
CVE catalog
CVE-2022-42906
powerline-gitstatus: CVE-2022-42906
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.48% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | powerline-gitstatus | sid | 1.3.3-1 | fixed |
| Debian | powerline-gitstatus | forky | 1.3.3-1 | fixed |
| Debian | powerline-gitstatus | trixie | 1.3.3-1 | fixed |
| Debian | powerline-gitstatus | bookworm | 1.3.2-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | powerline-gitstatus | source | sid | 1.3.2-1 | not yet assigned | Not reported | Not reported |
| Debian | powerline-gitstatus | source | forky | 1.3.2-1 | not yet assigned | Not reported | Not reported |
| Debian | powerline-gitstatus | source | trixie | 1.3.2-1 | not yet assigned | Not reported | Not reported |
| Debian | powerline-gitstatus | source | bookworm | 1.3.2-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [powerline-gitstatus]Fixed
Details (2)
1.3.2-1· all · bookwormFixed · Fixed:
1.3.2-1dsa · powerline-gitstatus · debian · bookworm
1.3.2-1· all · bookwormFixed · Fixed:
1.3.2-1dsa · powerline-gitstatus · debian · bookworm
- [python3-powerline-gitstatus]Fixed
Source package: [powerline-gitstatus]
Details (2)
1.3.2-1· all · bookwormFixed · Fixed:
1.3.2-1dsa · powerline-gitstatus · debian · bookworm
1.3.2-1· all · bookwormFixed · Fixed:
1.3.2-1dsa · powerline-gitstatus · debian · bookworm
Observed: