{"id":"CVE-2026-100867","published":"2026-09-27T13:16:37.810","lastModified":"2026-09-28T20:55:27.360","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.","cvssScore":3.3,"cvssSeverity":"LOW","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","cwes":["CWE-150"],"vendors":[],"products":[],"references":[{"url":"https://github.com/spaceship-prompt/spaceship-prompt","tags":[]},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102","tags":[]},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41","tags":[]},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/issues/1567","tags":[]},{"url":"https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injection","tags":[]}],"exploitRefs":[{"url":"https://github.com/spaceship-prompt/spaceship-prompt","tags":[]},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102","tags":[]},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41","tags":[]},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/issues/1567","tags":[]}],"hasPoc":true,"ai":null}