CVE-2026-122136
mediumPowerlevel10k before 1.20.19 contains a symlink following vulnerability in _p9k_dump_instant_prompt that allows local attackers to overwrite victim-writable fi…
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-- in TMPDIR, guessing the victim's shell PID, so shell startup truncates and overwrites targeted files.
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/romkatv/powerlevel10k disclosure@vulncheck.com
- https://github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452 disclosure@vulncheck.com
- https://github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39 disclosure@vulncheck.com
- https://github.com/romkatv/powerlevel10k/issues/2972 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-symlink-following-via-in... disclosure@vulncheck.com

