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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-55157— Token Optimizer MCP: OS command injection in smart_user via username in get-user-info

Quick assessment

Affected
ooples token-optimizer-mcp
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.

Token Optimizer MCP 用于衡量每个 AI 编程代理的 Token 节省情况、优化上下文,并在 16 个 CLI 客户端之间共享本地实时知识图谱。在 5.1.0 版本之前,token-optimizer-mcp 存在漏洞,其中 smart_user 工具容易受到操作系统命令注入攻击。任何能够调用 smart_user 工具的 MCP 客户端,都可以通过 get-user-info 操作的 username 参数执行任意 Shell 命令。这些命令将以运行 token-optimizer-mcp 服务

CVSS 8.4 · High

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
ooples token-optimizer-mcp < 5.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55157

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
Token Optimizer MCP: OS command injection in smart_user via username in get-user-info
Source: CVE Program / CVE List V5
Vulnerability Description
Token Optimizer MCP measures token savings per AI coding agent, optimizes context, and shares a live local knowledge graph across 16 CLI clients. Prior to version 5.1.0, token-optimizer-mcp is vulnerable to OS command injection in the smart_user tool. Any MCP client that can call the smart_user tool can execute arbitrary shell commands through the username argument of the get-user-info operation. The commands execute with the privileges of the user running the token-optimizer-mcp server. This issue has been patched in version 5.1.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ooples token-optimizer-mcp < 5.1.0 -

II. Public POCs for CVE-2026-55157

# 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-55157

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

Other References for CVE-2026-55157 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55157

No comments yet


Leave a comment