Vulnerability in Spaceship-Prompt

CVE-2026-100867

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.

EPSS exploit prediction

EPSS 0.001, 1.8th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References