Skip to content

CVE-2026-55156 Token Optimizer MCP: Unauthenticated Path Traversal in Dashboard Session Log API Endpoints

MediumCVSS 5.3 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
ooples token-optimizer-mcp(npm) < 5.1.0 5.1.0 Fixed
ooples token-optimizer-mcp = < 5.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ooples token-optimizer-mcp = < 5.1.0 No fix listed
ooples token-optimizer-mcp(npm) < 5.1.0 5.1.0

References