CVE-2026-122136
published medium CVSS 4.0 · 4.1Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary File
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| romkatv | — | powerlevel10k0 to < 1.20.19 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.4 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| romkatv | powerlevel10k | 0 to < 1.20.19 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
5- https://github.com/romkatv/powerlevel10k
- https://github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452
- https://github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39
- GitHub Issue #2972 https://github.com/romkatv/powerlevel10k/issues/2972
- VulnCheck Advisory: Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary File https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-symlink-following-via-instant-prompt-temporary-file
Provider assertions
2VulnCheck · cna
Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary File
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cdfedf02326ce5e204983282db662c4dffa99ee92873c0f79dda5d280cf69797
- Ingested
- 09 Nov 2026, 17:03:08 UTC
- Source record
- Official CVE record