Skip to main content
← All vulnerabilities
CVE-2026-55156GHSA-76PC-MQXP-3RQ5

Token Optimizer MCP: Unauthenticated Path Traversal in Dashboard Session Log API Endpoints

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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, the dashboard HTTP server in token-optimizer-mcp exposes /api/session-summary and /api/session-events with no authentication middleware — any network-accessible client can reach them without credentials. Both handlers concatenate the caller-supplied sessionId query parameter directly into a filesystem path via path.join, and Node.js normalizes .. segments at resolution time, allowing an unauthenticated attacker to read any .jsonl file reachable from the server's filesystem. This issue has been patched in version 5.1.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • ooples token-optimizer-mcp

    fixed in 5.1.0

  • @ooples/token-optimizer-mcpnpm

    fixed in 5.1.0

References 3

GitHub · ooples/token-optimizer-mcp