Prior to version 5.1.0, token-optimizer-mcp is vulnerable to OS command injection in the smart_user tool.
- CVSS
- 8.4High
- Chance of exploitation (EPSS)
- 0.88%
- Published
- Sep 28, 2026
- In the news
- Not yet
What to do
A serious command injection flaw that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Ooples Token-optimizer-mcp
- < 5.1.0
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.
Affected products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 1
Latest change: CVE-2026-55157 published (CVSS 8.4) (Sep 28, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Sep 28, 2026
- CVECVE-2026-55157 published (CVSS 8.4)CVE Program · 18:17 UTC
References 4
- github.com /ooples/token-optimizer-mcp/commit/b4ee96dac799cbfba0a9f9c17844ce9d613cbcc7
- github.com /ooples/token-optimizer-mcp/releases/tag/v5.1.0
- github.com /ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46
- github.com /ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46