powerlevel10k fails to neutralize control characters in the package.json version field when rendering the package prompt segment. Attackers can inject raw escape bytes in the version string to emit arbitrary terminal control sequences on each prompt render when the shell enters affected directories.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 4.8NVD modified 2026-10-23 16:10
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 5
- https://github.com/romkatv/powerlevel10k
- https://github.com/romkatv/powerlevel10k/blob/master/internal/p10k.zsh
- https://github.com/romkatv/powerlevel10k/commit/58e13d16a50e1d6908e39e20a670896808ccf350
- https://github.com/romkatv/powerlevel10k/issues/2961
- https://www.vulncheck.com/advisories/powerlevel10k-control-character-injection-via-package-json-version