# CVE-2026-122136: Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary File

- Severity: Medium 4.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-04T20:36:54.467Z
- Modified: 2026-11-09T17:17:20.783Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

Powerlevel10k before 1.20.19 contains a symlink following vulnerability in _p9k_dump_instant_prompt that allows local attackers to overwrite victim-writable files via a predictable temporary path. Attackers can pre-plant symlinks at p10k-instant-prompt-output-<user>-<pid> in TMPDIR, guessing the victim's shell PID, so shell startup truncates and overwrites targeted files.

(As written by CVE List.)

## Affected

- romkatv powerlevel10k: before 1.20.19

## Every score

- VulnCheck: CVSS:4.0 4.1 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/romkatv/powerlevel10k/issues/2972> (issue-tracking)
- <https://github.com/romkatv/powerlevel10k> (product)
- <https://github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39> (patch)
- <https://github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452> (technical-description)
- <https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-symlink-following-via-instant-prompt-temporary-file> (third-party-advisory)

## Sources

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

---

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