Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-100867— spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection

Quick assessment

Affected
spaceship-prompt spaceship-prompt
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

spaceship-prompt 4.22.5 及更早版本未对项目清单(project manifest)中的版本字段进行控制字符过滤,便直接将其渲染到 zsh 提示符中。攻击者可以在软件包清单的版本字段中嵌入 ANSI/OSC 转义序列,从而在受害者进入该目录时操纵终端输出、重写窗口标题或伪造显示的文本。

CVSS 3.3 · Low EPSS 0.12% · P2

Affected Version Matrix 1

VendorProduct Version RangeStatus
spaceship-prompt spaceship-prompt ≤ 4.22.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-100867

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
spaceship-prompt through 4.22.5 Terminal Escape Sequence Injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
转义、元或控制序列转义处理不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
spaceship-prompt spaceship-prompt 0 ~ 4.22.5 -

II. Public POCs for CVE-2026-100867

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-100867

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-100867 (1)

Vendor Advisories for CVE-2026-100867 (1)

Other References for CVE-2026-100867 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-100867

No comments yet


Leave a comment