# CVE-2026-122137: Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer

- Severity: Medium 5.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-11-04T20:36:55.143Z
- Modified: 2026-11-12T21:30:23.870Z
- Weaknesses: CWE-377
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- romkatv powerlevel10k: before 1.20.19
- romkatv gitstatus: up to 1.5.5

## Every score

- VulnCheck: CVSS:4.0 5.4 Medium `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`
- VulnCheck: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/romkatv/powerlevel10k/issues/2972> (issue-tracking)
- <https://github.com/romkatv/powerlevel10k> (product)
- <https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b> (patch)
- <https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4> (patch)
- <https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256> (technical-description)
- <https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-directory-via-gitstatus-installer> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-122137](https://www.cve.org/CVERecord?id=CVE-2026-122137), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-122137](https://nvd.nist.gov/vuln/detail/CVE-2026-122137), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-122137 · Whole record: https://cve.day/CVE-2026-122137.json · Rebuilt by cve.day 2026-11-25T22:59:49.040Z
