PYSEC-2026-898

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/powerline-gitstatus/PYSEC-2026-898.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-898
Aliases
Published
2026-07-07T10:17:22.618683Z
Modified
2026-07-07T11:45:15.889782993Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Powerline Gitstatus vulnerable to arbitrary code execution
Details

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.

References

Affected packages

PyPI / powerline-gitstatus

Package

Name
powerline-gitstatus
View open source insights on deps.dev
Purl
pkg:pypi/powerline-gitstatus

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.2

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.1.0
1.1.1
1.2.0
1.2.1
1.3.0
1.3.1

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/powerline-gitstatus/PYSEC-2026-898.yaml"