Vulnerability Description
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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc
- https://github.com/romkatv/powerlevel10k
- https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L25
- https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2
- https://github.com/romkatv/powerlevel10k/issues/2972
- https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-tempo
FAQ
What is CVE-2026-122137?
CVE-2026-122137 is a vulnerability with a CVSS score of 6.7 (MEDIUM). 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 attacker...
How severe is CVE-2026-122137?
CVE-2026-122137 has been rated MEDIUM with a CVSS base score of 6.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-122137?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.