spaceship-prompt vulnerability

spaceship-prompt through 4.22.5 fails to sanitize control characters from project manifest version fields before rendering them in the zsh prompt. Attackers can embed ANSI/OSC escape sequences in version fields of package manifests to manipulate terminal output, rewrite window titles, or spoof displayed text when victims enter the directory.

Published 27 Sep 2026Updated 27 Sep 20265 sources
CVSS 4.8

Source timeline

CVE record published by NVDView source ↗