{"id":"CVE-2026-100867","title":"spaceship-prompt through 4.22.5 fails to sanitize control characters from project manifest version fields before rendering them in the zsh prompt","summary":"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 ma…","severity":"low","cvss":3.3,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","cwe":["CWE-150"],"vendor":"spaceship-prompt","product":"spaceship-prompt","affected":["spaceship-prompt <= 4.22.5"],"published":"2026-09-27","updated":"2026-09-27","sourceUpdated":"2026-09-27T13:16:37.810","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-100867","references":[{"url":"https://github.com/spaceship-prompt/spaceship-prompt","label":"disclosure@vulncheck.com"},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102","label":"disclosure@vulncheck.com"},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41","label":"disclosure@vulncheck.com"},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/issues/1567","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injection","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-09-27T13:53:26.572Z","slug":"CVE-2026-100867","body":"## Overview\n\nspaceship-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":18,"depthScoreParts":{"impact":18.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}