CVE-2026-122137
published medium CVSS 4.0 · 5.4Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.7 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| romkatv | powerlevel10k | 0 to < 1.20.19 (affected · custom)Default: unaffected | VulnCheck · cna |
| romkatv | gitstatus | 0 through 1.5.5 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-377 Insecure Temporary File
References
6- https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b
- https://github.com/romkatv/powerlevel10k
- https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256
- https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4
- GitHub Issue #2972 https://github.com/romkatv/powerlevel10k/issues/2972
- VulnCheck Advisory: Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-directory-via-gitstatus-installer
Provider assertions
2VulnCheck · cna
Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d6d2515982c23c7043d2be76fe063695032e0747ecabed15d0ade770f7b2ec55
- Ingested
- 09 Nov 2026, 17:03:08 UTC
- Source record
- Official CVE record