Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | powerline-gitstatus | 1.3.2-1 | — |
| Debian 13 | powerline-gitstatus | 1.3.2-1 | — |
| Debian 12 | powerline-gitstatus | 1.3.2-1 | — |
| Debian 10 | powerline-gitstatus | 1.3.2-0+deb10u1 | DLA-3277-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | powerline-gitstatus | No fix yet | — |
| Ubuntu 26.04 LTS | powerline-gitstatus | No fix yet | — |
| Ubuntu 25.10 | powerline-gitstatus | No fix yet | — |
| Ubuntu 24.04 LTS | powerline-gitstatus | No fix yet | — |
| Ubuntu 22.04 LTS | powerline-gitstatus | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | powerline-gitstatus | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | powerline-gitstatus | < 1.3.2 | 1.3.2 | GHSA-w67g-6gjv-c599 |
Advisories 1
- DLA-3277-1 powerline-gitstatus - security update Debian Security (DSA / DLA) · Mar 9, 2026