{"id":"CVE-2026-122137","aliases":["EUVD-2026-117091","GHSA-pfwr-f3c5-mfgm"],"status":"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.","severity":{"version":"4.0","score":5.4,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00115,"percentile":0.01563,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-377"],"published":"2026-11-04T20:36:55Z","modified":"2026-11-05T10:46:09Z","products":[{"vendor":"romkatv","product":"gitstatus"},{"vendor":"romkatv","product":"powerlevel10k"}],"references":[{"url":"https://github.com/romkatv/powerlevel10k/issues/2972","tags":["issue-tracking","report"]},{"url":"https://github.com/romkatv/powerlevel10k","tags":["product","package"]},{"url":"https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b","tags":["patch","fix"]},{"url":"https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4","tags":["patch","fix"]},{"url":"https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-directory-via-gitstatus-installer","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122137","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pfwr-f3c5-mfgm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122137.json","tags":["advisory"]},{"url":"https://github.com/romkatv/gitstatus","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-122137","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.","status":"published","published":"2026-11-04T20:36:55.143Z","modified":"2026-11-09T16:59:20.828Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-377"],"updated_at":"2026-11-09T17:34:05.130069Z"}],"euvd":[{"id":"EUVD-2026-117091","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.","status":"published","published":"2026-11-04T20:36:55Z","modified":"2026-11-09T16:59:20Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium"}],"updated_at":"2026-11-09T18:17:39.592818Z"}],"ghsa":[{"id":"GHSA-pfwr-f3c5-mfgm","title":"Powerlevel10k before 1.20.19 contains an insecure temporary directory vulnerability in the...","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.","status":"published","published":"2026-11-04T21:32:32Z","modified":"2026-11-04T21:32:32Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"medium"},{"version":"4.0","score":5.4,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-04T21:42:45.289646Z"}],"nvd":[{"id":"CVE-2026-122137","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.","status":"published","published":"2026-11-04T21:18:09.807Z","modified":"2026-11-09T17:17:20.917Z","cvss":[{"version":"4.0","score":5.4,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-377"],"updated_at":"2026-11-09T20:15:34.048597Z"}],"osv":[{"id":"CVE-2026-122137","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.","status":"published","published":"2026-11-04T20:36:55.143Z","modified":"2026-11-11T02:31:12.654336042Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-11T11:06:40.987816Z"}]}}
