CVE-2026-100867 spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
Attackers can inject terminal escape sequences via project manifest fields to spoof displayed text or manipulate window titles in the spaceship-prompt zsh theme.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-100867?
CVE-2026-100867 is a medium-severity vulnerability in spaceship-prompt, published on 27 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-150
Which versions are affected by CVE-2026-100867?
How do I fix CVE-2026-100867?
No fix has been published for CVE-2026-100867 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-100867 being exploited?
There is no known exploitation of CVE-2026-100867 in the wild and no public exploit code.
Sources
Also known as GHSA-wm7h-qp5m-qqh7.