CVE-2026-122136 Details
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.
A symlink following vulnerability has been identified in Powerlevel10k versions prior to 1.20.19. The issue arises in the function '_p9k_dump_instant_prompt', where local attackers can overwrite files writable by the victim. This is achieved by exploiting a predictable temporary file path. Attackers can place symlinks in the 'TMPDIR' directory, targeting the victim's shell process ID, which is predictable. When the victim starts a new shell, the symlink is followed, truncating and overwriting the specified file.
Users can update Powerlevel10k to version 1.20.19 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/romkatv/powerlevel10k | [email protected] | ProductVendor |
| https://github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452 | [email protected] | Source CodeVendor |
| https://github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39 | [email protected] | Source CodeVendor |
| https://github.com/romkatv/powerlevel10k/issues/2972 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-symlink-following-via-instant-prompt-temporary-file | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Powerlevel10k | >= 0, < 1.20.19 |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | New CVE Received | [email protected] |
Volerion