CVE-2026-100867 PUBLISHED

spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection

Assigner: VulnCheck
Reserved: 27.09.2026 Published: 27.09.2026 Updated: 27.09.2026

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.

Metrics

CVSS 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
CVSS Score: 4.8

Product Status

Vendor spaceship-prompt
Product spaceship-prompt
Versions Default: unaffected
  • affected from 0 to 4.22.5 (incl.)

Credits

  • George Chen finder

References

Problem Types

  • Improper Neutralization of Escape, Meta, or Control Sequences CWE