Skip to content
Heist/ feed
Medium

spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-100867

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-100867

spaceship-prompt

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "spaceship-prompt",
    "product": "spaceship-prompt",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "4.22.5"
      }
    ],
    "packageURL": "pkg:npm/spaceship-prompt",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-100867

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#4474 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement