CVE Catalog

CVE-2026-100867

LowCVSS 3.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

2th percentile - higher than 2% of all known CVEs

Summary

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.

Risk Assessment

An attacker can manipulate terminal display, potentially leading to misinformation or hiding malicious activity. This can also be used for social engineering attacks by spoofing text.

Recommendation

Update spaceship-prompt to a version later than 4.22.5, which sanitizes control characters in version fields.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS