Skip to content

CVE-2026-100867 spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection

MediumCVSS 4.8 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm spaceship-prompt <= 4.22.5 after 4.22.5 Fixed

Affected products

ProductAffected versionsFixed in
npm spaceship-prompt <= 4.22.5 No fix listed

References