Read the docs
TI-2026-39846 Aliases CVE-2026-55157GHSA-49mq-fc6q-3h46

Token Optimizer MCP: OS command injection in smart_user via username in get-user-info

Priority HIGH 72CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00881 59th percentileScored 2026-11-07
Fix Fixed token-optimizer-mcp (ooples): 5.1.0@ooples/token-optimizer-mcp (npm): 5.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ooplestoken-optimizer-mcpbefore 5.1.05.1.0Patch availableCNA
—@ooples/token-optimizer-mcp (npm)before 5.1.05.1.0Patch availableGHSA-49mq-fc6q-3h46
  • token-optimizer-mcp Vendorooples Affected before 5.1.0 Fixed in 5.1.0 Patch available CNA
  • @ooples/token-optimizer-mcp (npm) Vendor— Affected before 5.1.0 Fixed in 5.1.0 Patch available GHSA-49mq-fc6q-3h46

Remediation

  • Fix · CNA token-optimizer-mcp (ooples) Fixed in 5.1.0
  • Fix · GHSA-49mq-fc6q-3h46 @ooples/token-optimizer-mcp (npm) Fixed in 5.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55157
  2. 2026-10-03 Alias added: GHSA-49mq-fc6q-3h46

References

  • TI-2026-39845 Token Optimizer MCP: Unauthenticated Path Traversal in Dashboard Session Log API Endpoints CVSS 3.1MEDIUM 5.3

Sources