Vulnerability in Spaceship-Prompt
CVE-2026-100867
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 · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.001, 1.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/spaceship-prompt/spaceship-prompt (product)
- github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fb… (technical-description)
- github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fb… (technical-description)
- GitHub Issue #1567 (issue-tracking)
- VulnCheck Advisory: spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection (third-party-advisory)