CVE-2026-122137
mediumPowerlevel10k before 1.20.19 contains an insecure temporary directory vulnerability in the bundled gitstatus/install script that reuses attacker-creatable dire…
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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b disclosure@vulncheck.com
- https://github.com/romkatv/powerlevel10k disclosure@vulncheck.com
- https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256 disclosure@vulncheck.com
- https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4 disclosure@vulncheck.com
- https://github.com/romkatv/powerlevel10k/issues/2972 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-direc... disclosure@vulncheck.com

