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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm spaceship-prompt | <= 4.22.5 | after 4.22.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm spaceship-prompt | <= 4.22.5 | No fix listed |
References
- GitHub Issue #1567 issue-tracking
- github.com technical-description
- github.com technical-description
- github.com product
- VulnCheck Advisory: spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection third-party-advisory
- ENISA EUVD EUVD-2026-87939 third-party-advisory