CVE-2026-100867
spaceship-prompt through 4.22.5 fails to sanitize control …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/spaceship-prompt/spaceship-prompt
- github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3
- github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3
- github.com/spaceship-prompt/spaceship-prompt/issues/1567
- www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-inje
- nvd.nist.gov/vuln/detail/CVE-2026-100867
- cve.org/CVERecord?id=CVE-2026-100867
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.