CVE-2026-100867
spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
spaceship-prompt spaceship-prompt
CVSS
4.8MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.12%Chance of exploitation activity in the next 30 days, higher than 1% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- spaceship-promptaffected: all versions through 4.22.5CVE List
References 5
- vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injectionAdvisoryvia CVE List
- github.com/spaceship-prompt/spaceship-prompt/issues/1567Referencevia CVE List
- github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102Referencevia CVE List
- github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41Referencevia CVE List
- github.com/spaceship-prompt/spaceship-promptReferencevia CVE List