---
id: CVE-2026-122136
title: >-
  Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary
  File
summary: >-
  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…
severity: medium
cvss: 4.4
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-59
vendor: romkatv
product: powerlevel10k
affected:
  - powerlevel10k < 1.20.19
published: '2026-11-04'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T20:36:54.467Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-122136'
references:
  - url: 'https://github.com/romkatv/powerlevel10k/issues/2972'
    label: 'GitHub Issue #2972'
  - url: 'https://github.com/romkatv/powerlevel10k'
  - url: >-
      https://github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39
  - url: >-
      https://github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452
  - url: >-
      https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-symlink-following-via-instant-prompt-temporary-file
    label: >-
      VulnCheck Advisory: Powerlevel10k before 1.20.19 Symlink Following via
      Instant Prompt Temporary File
tags:
  - cve.org
ingestedAt: '2026-11-05T21:36:00.565Z'
epss: 0.0012
epssPercentile: 0.0181
---

## Overview

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.

## Affected

- `powerlevel10k < 1.20.19`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
