PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-100867 spaceship-prompt CVE debrief

CVE-2026-100867 debrief: The spaceship-prompt vulnerability through version 4.22.5 allows attackers to embed ANSI/OSC escape sequences in package manifest version fields, which can manipulate terminal output, rewrite window titles, or spoof displayed text when victims enter the directory. This issue impacts defenders maintaining zsh prompt configurations and users entering directories with potentially malicious package manifests. The vulnerability highlights the importance of sanitizing control characters in project manifest version fields before rendering them in the zsh prompt.

Vendor
spaceship-prompt
Product
Unknown
CVSS
MEDIUM 4.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-27
Original CVE updated
2026-09-27
Advisory published
2026-09-27
Advisory updated
2026-09-27

Who should care

Defenders responsible for maintaining and securing zsh prompt configurations, particularly in environments where users frequently enter directories with potentially malicious package manifests, should assess exposure and prioritize verification and remediation efforts.

Why it matters

CVE-2026-100867 allows attackers to manipulate terminal output via ANSI/OSC escape sequences in package manifest version fields, impacting defenders who maintain zsh prompt configurations and users who enter directories with malicious manifests.

  • Potential terminal output manipulation
  • Possible window title rewriting
  • Spoofing of displayed text in zsh prompt

Technical summary

The spaceship-prompt vulnerability allows attackers to 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. This issue arises from the failure to sanitize control characters from project manifest version fields before rendering them in the zsh prompt. The vulnerability impacts defenders who maintain zsh prompt configurations and users who enter directories with malicious manifests, emphasizing the need for sanitization and version updates.

Defensive priority

Defenders should prioritize verifying and updating spaceship-prompt versions to prevent potential terminal output manipulation.

Recommended defensive actions

  • Verify and update spaceship-prompt to the latest version
  • Review and sanitize project manifest version fields
  • Monitor terminal output for suspicious activity
  • Perform a thorough review of zsh prompt configurations for potential exposure
  • Implement compensating controls for exposed systems while remediation is scheduled and verified
  • Track exceptions and retest remediated assets
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, indicating that versions up to 4.22.5 are affected. However, they do not specify additional affected versions or provide detailed remediation guidance beyond updating to the latest version. Defenders should verify and update spaceship-prompt versions, review and sanitize project manifest version fields, and monitor terminal output for suspicious activity related to this vulnerability.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-100867 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-100867

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-100867 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-100867

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.