CVE-2026-100867
JSON

4.8medium

spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection

Severity
4.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.12% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
spaceship-prompt spaceship-promptup to 4.22.5CVE List

All scores

VulnCheck4.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Classification

CWE-150

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-100867 changed 2026-09-30CVE Terms of Use
NVDCVE-2026-100867 changed 2026-09-30Public domain