CVE-2026-55157 Token Optimizer MCP: OS command injection in smart_user via username in get-user-info
HighCVSS 8.4
EPSS 0.88%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ooples token-optimizer-mcp(npm) | < 5.1.0 | 5.1.0 | Fixed |
| ooples token-optimizer-mcp | = < 5.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ooples token-optimizer-mcp | = < 5.1.0 | No fix listed |
| ooples token-optimizer-mcp(npm) | < 5.1.0 | 5.1.0 |
References
- https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46 exploit vendor-advisory
- https://github.com/ooples/token-optimizer-mcp/commit/b4ee96dac799cbfba0a9f9c17844ce9d613cbcc7 patch
- https://github.com/ooples/token-optimizer-mcp/releases/tag/v5.1.0
- github.com
- github.com product
- ENISA EUVD EUVD-2026-88397 third-party-advisory