# CVE-2026-55157: Token Optimizer MCP: OS command injection in smart_user via username in get-user-info

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-14T21:42:06.000Z
- Modified: 2026-10-01T15:17:30.207Z
- Also known as: GHSA-49mq-fc6q-3h46
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ooples token-optimizer-mcp: < 5.1.0
- @ooples/token-optimizer-mcp (npm): before 5.1.0

## Every score

- GitHub_M: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-49mq-fc6q-3h46> (exploit, web)
- <https://github.com/ooples/token-optimizer-mcp/commit/b4ee96dac799cbfba0a9f9c17844ce9d613cbcc7> (web)
- <https://github.com/ooples/token-optimizer-mcp/releases/tag/v5.1.0> (web)
- <https://github.com/ooples/token-optimizer-mcp> (package)

## Sources

- CVE List: [CVE-2026-55157](https://www.cve.org/CVERecord?id=CVE-2026-55157), CVE Terms of Use, modified 2026-10-01
- GitHub Advisory Database: [GHSA-49mq-fc6q-3h46](https://github.com/advisories/GHSA-49mq-fc6q-3h46), CC-BY-4.0, modified 2026-08-14
- NVD: [CVE-2026-55157](https://nvd.nist.gov/vuln/detail/CVE-2026-55157), Public domain, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-55157 · Whole record: https://cve.day/CVE-2026-55157.json · Rebuilt by cve.day 2026-11-25T22:59:41.368Z
