CVE-2026-122136
Powerlevel10k before 1.20.19 contains a symlink following …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/romkatv/powerlevel10k
- github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452
- github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39
- github.com/romkatv/powerlevel10k/issues/2972
- www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-symlink-following-via-instant-pr
- nvd.nist.gov/vuln/detail/CVE-2026-122136
- cve.org/CVERecord?id=CVE-2026-122136
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.