CVE-2026-122137: Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer

Published Nov 4, 2026
·
Updated

Powerlevel10k before 1.20.19 contains an insecure temporary directory vulnerability in the bundled gitstatus/install script that reuses attacker-creatable directories when mktemp fails. Local attackers can pre-create the predictable gitstatus-install.tmp directory to replace the extracted gitstatusd binary, which then executes with the victim's privileges.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Powerlevel10k to a version that resolves this vulnerability.

    Fixed in 1.20.19

Event History

Nov 4, 2026
CVE Published
via MITRE·08:36 PM
Data Sourced
via MITRE·08:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

Users running Powerlevel10k versions before 1.20.19 are exposed when the bundled gitstatus/install script runs on a system where a local attacker can create the predictable temporary directory. Successful exploitation causes the substituted gitstatusd binary to run with the victim user's privileges.

2

What conditions does an attacker need to exploit this issue?

The attacker needs local access and must be able to pre-create the predictable gitstatus-install.tmp directory. Exploitation also depends on mktemp failing and on a victim subsequently running the affected installer; it requires user interaction and is rated high complexity.

3

How can I determine whether I am affected?

Check whether the installed Powerlevel10k version is earlier than 1.20.19 and whether the bundled gitstatus/install script is used. The vulnerable behavior is reuse of an existing gitstatus-install.tmp directory after mktemp fails.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203