High severity8.4NVD Advisory· Published Sep 28, 2026· Updated Oct 1, 2026
CVE-2026-55157
CVE-2026-55157
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@ooples/token-optimizer-mcpnpm | < 5.1.0 | 5.1.0 |
Affected products
2- Range: 0.2.0
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.