CVE-2026-100867
published medium CVSS 4.0 · 4.8spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| spaceship-prompt | — | spaceship-prompt0 through 4.22.5 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| spaceship-prompt | spaceship-prompt | 0 through 4.22.5 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
References
5- https://github.com/spaceship-prompt/spaceship-prompt
- https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102
- https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41
- GitHub Issue #1567 https://github.com/spaceship-prompt/spaceship-prompt/issues/1567
- VulnCheck Advisory: spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injection
Provider assertions
2VulnCheck · cna
spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8f4f145e5b40541f728019ae27cc3636245eb45d7d06bd8a80111a22570b16ea
- Ingested
- 30 Sep 2026, 15:44:22 UTC
- Source record
- Official CVE record