CVE catalog

CVE-2022-42906

powerline-gitstatus: CVE-2022-42906

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianpowerline-gitstatussid1.3.3-1fixed
Debianpowerline-gitstatusforky1.3.3-1fixed
Debianpowerline-gitstatustrixie1.3.3-1fixed
Debianpowerline-gitstatusbookworm1.3.2-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpowerline-gitstatussourcesid1.3.2-1not yet assignedNot reportedNot reported
Debianpowerline-gitstatussourceforky1.3.2-1not yet assignedNot reportedNot reported
Debianpowerline-gitstatussourcetrixie1.3.2-1not yet assignedNot reportedNot reported
Debianpowerline-gitstatussourcebookworm1.3.2-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.3.2-1 · all · bookworm

      Fixed · Fixed: 1.3.2-1

      dsa · powerline-gitstatus · debian · bookworm

    • 1.3.2-1 · all · bookworm

      Fixed · Fixed: 1.3.2-1

      dsa · powerline-gitstatus · debian · bookworm

  • Source package: [powerline-gitstatus]

    Details (2)
    • 1.3.2-1 · all · bookworm

      Fixed · Fixed: 1.3.2-1

      dsa · powerline-gitstatus · debian · bookworm

    • 1.3.2-1 · all · bookworm

      Fixed · Fixed: 1.3.2-1

      dsa · powerline-gitstatus · debian · bookworm

Observed:

References