{"id":"CVE-2026-122137","state":"PUBLISHED","title":"Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer","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.","publishedAt":"2026-11-04T20:36:55.143Z","updatedAt":"2026-11-09T16:59:20.828Z","severity":{"score":5.4,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["romkatv powerlevel10k","romkatv gitstatus"],"affected":[{"vendor":"romkatv","product":"powerlevel10k","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.20.19","versionType":"custom"}]},{"vendor":"romkatv","product":"gitstatus","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.5.5","versionType":"custom"}],"repo":"https://github.com/romkatv/gitstatus"}],"references":["https://github.com/romkatv/powerlevel10k/issues/2972","https://github.com/romkatv/powerlevel10k","https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b","https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4","https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256","https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-directory-via-gitstatus-installer"],"weaknesses":["CWE-377"],"ingestedAt":"2026-11-09T17:06:05.864Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/122xxx/CVE-2026-122137.json","commit":"10f592c6e61fd45e286834626eda68a555393fed","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-122137","state":"PUBLISHED","datePublished":"2026-11-04T20:36:55.143Z","dateUpdated":"2026-11-09T16:59:20.828Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-04T18:13:12.891Z"},"containers":{"cna":{"title":"Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"romkatv","product":"powerlevel10k","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.20.19","versionType":"custom"}]},{"vendor":"romkatv","product":"gitstatus","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.5.5","versionType":"custom"}],"repo":"https://github.com/romkatv/gitstatus"}],"references":[{"url":"https://github.com/romkatv/powerlevel10k/issues/2972","tags":["issue-tracking"],"name":"GitHub Issue #2972"},{"url":"https://github.com/romkatv/powerlevel10k","tags":["product"]},{"url":"https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b","tags":["patch"]},{"url":"https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4","tags":["patch"]},{"url":"https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-directory-via-gitstatus-installer","name":"VulnCheck Advisory: Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":6.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-377","lang":"en","description":"Insecure Temporary File","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-04T20:36:55.143Z"},"datePublic":"2026-10-31T00:00:00.000Z","credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T16:11:45.799842Z","id":"CVE-2026-122137","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T16:59:20.828Z"}}]}}}