{"id":"CVE-2026-100867","state":"PUBLISHED","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.","publishedAt":"2026-09-27T13:09:52.715Z","updatedAt":"2026-09-30T15:26:16.430Z","severity":{"score":4.8,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["spaceship-prompt spaceship-prompt"],"affected":[{"vendor":"spaceship-prompt","product":"spaceship-prompt","packageURL":"pkg:npm/spaceship-prompt","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.22.5","versionType":"semver"}]}],"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"],"weaknesses":["CWE-150"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/100xxx/CVE-2026-100867.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-100867","state":"PUBLISHED","datePublished":"2026-09-27T13:09:52.715Z","dateUpdated":"2026-09-30T15:26:16.430Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-27T00:20:54.407Z"},"containers":{"cna":{"title":"spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"spaceship-prompt","product":"spaceship-prompt","packageURL":"pkg:npm/spaceship-prompt","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.22.5","versionType":"semver"}]}],"references":[{"url":"https://github.com/spaceship-prompt/spaceship-prompt/issues/1567","tags":["issue-tracking"],"name":"GitHub Issue #1567"},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/lib/section.zsh#L100-L102","tags":["technical-description"]},{"url":"https://github.com/spaceship-prompt/spaceship-prompt/blob/fd0d6653a134fe28f498eae1784fbb46d27f20f3/sections/package.zsh#L41","tags":["technical-description"]},{"url":"https://github.com/spaceship-prompt/spaceship-prompt","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injection","name":"VulnCheck Advisory: spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-150","lang":"en","description":"Improper Neutralization of Escape, Meta, or Control Sequences","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-27T13:09:52.715Z"},"datePublic":"2026-08-07T00:00:00.000Z","credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-30T15:26:06.346561Z","id":"CVE-2026-100867","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-30T15:26:16.430Z"}}]}}}