{"id":"CVE-2026-55157","published":"2026-09-28T18:17:23.373","lastModified":"2026-10-01T15:17:30.207","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.","cvssScore":8.4,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-78"],"vendors":[],"products":[],"references":[{"url":"https://github.com/ooples/token-optimizer-mcp/commit/b4ee96dac799cbfba0a9f9c17844ce9d613cbcc7","tags":[]},{"url":"https://github.com/ooples/token-optimizer-mcp/releases/tag/v5.1.0","tags":[]},{"url":"https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46","tags":[]},{"url":"https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46","tags":[]}],"exploitRefs":[{"url":"https://github.com/ooples/token-optimizer-mcp/commit/b4ee96dac799cbfba0a9f9c17844ce9d613cbcc7","tags":[]},{"url":"https://github.com/ooples/token-optimizer-mcp/releases/tag/v5.1.0","tags":[]},{"url":"https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46","tags":[]},{"url":"https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows for OS command injection via the username argument in the smart_user tool, enabling arbitrary shell commands to be executed with the server's privileges.","exploitability":"Exploitation is relatively easy if an attacker can call the smart_user tool, as no authentication is required.","blast_radius":"If exploited, the impact is high, as it can lead to full server compromise and potential lateral movement within the network.","remediation":"Upgrade to version 5.1.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","os-command-injection","patch-required"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-05T08:42:28.117Z"}}