CVE-2026-122137
Powerlevel10k before 1.20.19 contains an insecure temporary directory vulnerability in the bundled gitstatus/install script that reuses attacker-creatable dire…
Impact
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.
An attacker can exploit this with local access to the system, with a regular user account, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Romkatv
| Product | Affected versions |
|---|---|
| Gitstatus | through 1.5.5 Version 0 ≤1.5.5 |
| Powerlevel10k | before 1.20.19 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b
- https://github.com/romkatv/powerlevel10k
- https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256
- https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4
- https://github.com/romkatv/powerlevel10k/issues/2972
- https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-directory-via-gitstatus-installer