Technical impact
Powerlevel10k before version 1.20.19 contains a symlink following issue in the _p9k_dump_instant_prompt routine that allows a local attacker to overwrite writable files through a predictable temporary path. By pre‑creating a symlink named p10k-instant-prompt-output-<user>-<pid> in TMPDIR and guessing the victim’s shell PID, the shell startup routine will truncate the symlink target and overwrite the contents. This flaw is a file system manipulation vulnerability (CWE‑59) that compromises file integrity.
Affected Systems
Any installation of Powerlevel10k prior to release 1.20.19 is affected. The product is provided by romkatv and is commonly used as a Zsh prompt enhancer. Users running older versions should verify their installed version and plan an update.
Risk and Exploitability
The CVSS score of 4.1 indicates a moderate severity. EPSS is not available and the flaw is not listed in the CISA KEV catalog, suggesting limited exploitation history. The vulnerability requires local access and the ability to place a symlink in the shell’s temporary directory, so attackers would need to run code within the victim’s account or obtain sufficient file‑system write permissions. While not remotely exploitable, the potential to overwrite state‑changing files can lead to significant integrity issues for those affected.