What’s Vulnerable › Vulnerabilities
CVE-2026-55157: Token Optimizer MCP: OS command injection in smart_user via username in get-user-info
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-28 · updated 2026-10-01
- Weakness: CWE-78
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
- ooples token-optimizer-mcp: before 5.1.0
References
- https://github.com/ooples/token-optimizer-mcp/commit/b4ee96dac799cbfba0a9f9c17844ce9d613cbcc7
- https://github.com/ooples/token-optimizer-mcp/releases/tag/v5.1.0
- https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46
- https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46
Get alerted when CVE-2026-55157 or the next vulnerability affects your stack