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
VendorProductAffected 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.
Fix within
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
Exploitation
<1% chance of attack within 30 days
Type
CWE-150Improper Neutralization of Escape, Meta, or Control Sequences
Timeline
Published27 Sep 2026
Updated26 Oct 2026
First seen27 Sep 2026
Sources
CVE-2026-100867 · MITRE
Track software like this
Free during beta