A AegiFlow
HIGHCVSS 8.4

CVE-2026-55157

CVE-2026-55157 updated by NVD

Published
2026-08-14
Modified
2026-10-03
Sources
github-advisory, nvd

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
npm@ooples/token-optimizer-mcp—5.1.0

Remediation: Upgrade to 5.1.0 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.