{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-100867","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-09-27T00:20:54.407Z","datePublished":"2026-09-27T13:09:52.715Z","dateUpdated":"2026-09-27T13:09:52.715Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-09-27T13:09:52.715Z"},"datePublic":"2026-08-07T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Escape, Meta, or Control Sequences","cweId":"CWE-150","type":"CWE"}]}],"affected":[{"vendor":"spaceship-prompt","product":"spaceship-prompt","defaultStatus":"unaffected","packageURL":"pkg:npm/spaceship-prompt","versions":[{"version":"0","status":"affected","versionType":"semver","lessThanOrEqual":"4.22.5"}]}],"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"}}],"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"]},{"name":"VulnCheck Advisory: spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/spaceship-prompt-through-4.22.5-terminal-escape-sequence-injection"}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}