{"id":"CVE-2026-100867","revision":"8188cd17cdce49baaa8db4f63cb3481a","records":[{"revision":"8188cd17cdce49baaa8db4f63cb3481a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-100867","aliases":[],"title":"spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection","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.","state":0,"publishedAt":"2026-09-27T13:09:52.715+00:00","modifiedAt":"2026-09-30T15:26:16.43+00:00","affected":[{"ecosystem":"Vendor product","name":"spaceship-prompt","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"spaceship-prompt\",\n                    \"product\": \"spaceship-prompt\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/spaceship-prompt\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"4.22.5\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":4.8,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":3.3,"severity":"LOW"}],"references":["https://github.com/spaceship-prompt/spaceship-prompt/issues/1567","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","https://github.com/spaceship-prompt/spaceship-prompt","https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injection"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-100867","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-100867","identifiers":["CVE-2026-100867"]},"retained":false,"historicalAffected":[]}],"coverage":[]}