Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary File
- State
- Published
- Severity
- 4.1 Medium
- Published
- Nov 4, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 4, 2026
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.
| Product | Versions |
|---|---|
| powerlevel10k romkatv | before 1.20.19 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.1 Medium | VulnCheck | |
| 3.1 | 4.4 Medium | VulnCheck |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
- GitHub Issue #2972Issue Tracker
- https://github.com/romkatv/powerlevel10kProduct Page
- https://github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39Patch
- https://github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452Technical Details
- VulnCheck Advisory: Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary FileThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.