{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55157","id":"CVE-2026-55157","title":"Token Optimizer MCP: OS command injection in smart_user via username in get-user-info","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. ","descriptionLong":"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.","published":"2026-09-28T17:48:16.422Z","updated":"2026-10-28T02:30:44.817438847Z","reserved":"2026-06-16T15:13:28.165Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["ooples token-optimizer-mcp"],"affectedProducts":[{"vendor":"ooples","product":"token-optimizer-mcp","defaultStatus":null,"versions":[{"version":"< 5.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@ooples/token-optimizer-mcp","purl":"pkg:npm/%40ooples/token-optimizer-mcp","ranges":["<5.1.0"],"fixed":["5.1.0"],"advisory":"GHSA-49mq-fc6q-3h46"}],"cwes":["CWE-78"],"aliases":["GHSA-49mq-fc6q-3h46"],"references":[{"url":"https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/ooples/token-optimizer-mcp/commit/b4ee96dac799cbfba0a9f9c17844ce9d613cbcc7","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/ooples/token-optimizer-mcp/releases/tag/v5.1.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55157.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55157","tags":["advisory"]},{"url":"https://github.com/ooples/token-optimizer-mcp","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00881,"epssPercentile":0.5987,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55157","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55157","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55157","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-49mq-fc6q-3h46","ok":true,"note":"GHSA-49mq-fc6q-3h46"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55157","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}