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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-09-27T13:09:52.715Z
- Modified: 2026-09-30T16:17:04.067Z
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- spaceship-prompt spaceship-prompt: up to 4.22.5

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `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`
- VulnCheck: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/spaceship-prompt/spaceship-prompt/issues/1567> (issue-tracking)
- <https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102> (technical-description)
- <https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41> (technical-description)
- <https://github.com/spaceship-prompt/spaceship-prompt> (product)
- <https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injection> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-100867](https://www.cve.org/CVERecord?id=CVE-2026-100867), CVE Terms of Use, modified 2026-09-30
- NVD: [CVE-2026-100867](https://nvd.nist.gov/vuln/detail/CVE-2026-100867), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-100867 · Whole record: https://cve.day/CVE-2026-100867.json · Rebuilt by cve.day 2026-11-25T22:59:41.274Z
