{"id":"CVE-2026-122137","title":"Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer","summary":"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 gits…","severity":"medium","cvss":6.7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-377"],"vendor":"romkatv","product":"powerlevel10k","affected":["powerlevel10k < 1.20.19","gitstatus <= 1.5.5"],"published":"2026-11-04","updated":"2026-11-04","sourceUpdated":"2026-11-04T20:36:55.143Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-122137","references":[{"url":"https://github.com/romkatv/powerlevel10k/issues/2972","label":"GitHub Issue #2972"},{"url":"https://github.com/romkatv/powerlevel10k"},{"url":"https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b"},{"url":"https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4"},{"url":"https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256"},{"url":"https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-directory-via-gitstatus-installer","label":"VulnCheck Advisory: Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer"}],"tags":["cve.org"],"ingestedAt":"2026-11-05T21:36:00.566Z","epss":0.00115,"epssPercentile":0.01556,"slug":"CVE-2026-122137","body":"## Overview\n\nPowerlevel10k 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.\n\n## Affected\n\n- `powerlevel10k < 1.20.19`\n- `gitstatus <= 1.5.5`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":37,"depthScoreParts":{"impact":36.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}