All vulnerabilities
CVE-2026-55156GHSA-76pc-mqxp-3rq5

token-optimizer-mcp: Token Optimizer MCP: Unauthenticated Path Traversal in Dashboard Session Log API Endpoints

ooples token-optimizer-mcpnpmLibraries & packages
CVSS
5.3Medium
ExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 28 Sep 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.45%Chance of exploitation activity in the next 30 days, higher than 37% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in5.1.0Fixed versionOSV
Published28 Sep 2026Updated 28 Sep 2026CVE List

What fixes it

  • 5.1.0@ooples/token-optimizer-mcp, npmOSVnpm install @ooples/token-optimizer-mcp@5.1.0

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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

Text from CVE List

Affected versions 2

  • token-optimizer-mcpaffected: < 5.1.0CVE List
  • @ooples/token-optimizer-mcp, npmfrom first release, fixed in 5.1.0OSV

References 3