Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.8
CVE-2026-100867: spaceship-prompt may let attackers alter terminal display
CVE-2026-100867 · published 1 month ago
Summary
The spaceship-prompt tool (versions up to 4.22.5) can show text that an attacker has placed in a project's version field. This can cause the terminal to change its appearance, rewrite window titles, or show false information when a user opens a directory. Update to a newer version or apply the provided patch to remove this risk.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| spaceship-prompt | spaceship-prompt | <= 4.22.5 |
Original advisory text
spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
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.
References
- https://github.com/spaceship-prompt/spaceship-prompt Product
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-1008... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-100867 Vendor Advisory
- https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-es... Vendor Advisory
- https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498ea... Third Party Advisory
- https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498ea... Third Party Advisory
- https://github.com/spaceship-prompt/spaceship-prompt/issues/1567 Third Party Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
6.8
Medium
Type
CWE-150Improper Neutralization of Escape, Meta, or Control Sequences
Timeline
Published27 Sep 2026
Updated26 Oct 2026
First seen27 Sep 2026
Track software like this
Free during beta