CVE-2026-100867
spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
CVSS Score
3.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-150 |
| Vendor | spaceship-prompt |
| Product | spaceship-prompt |
| Published | Sep 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for spaceship-prompt spaceship-prompt
Be the first to know when new low vulnerabilities affecting spaceship-prompt spaceship-prompt are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
Affected Versions
spaceship-prompt / spaceship-prompt
0 โค 4.22.5
References
github.com: https://github.com/spaceship-prompt/spaceship-prompt/issues/1567 github.com: https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102 github.com: https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41 github.com: https://github.com/spaceship-prompt/spaceship-prompt vulncheck.com: https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injection
Credits
George Chen