Vulnerability · Published Sep 27, 2026 · Assigned by VulnCheck
CVE-2026-100867spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
Low 3.3
In plain English
A low-severity security flaw in spaceship-prompt from spaceship-prompt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).
Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.1%top 98.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| spaceship-prompt | spaceship-prompt | 0 – through 4.22.5 |
Weakness: CWE-150 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
References
- GitHub Issue #1567 issue-tracking
- https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102 technical-description
- https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41 technical-description
- https://github.com/spaceship-prompt/spaceship-prompt product
- VulnCheck Advisory: spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection third-party-advisory