Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
ooples token-optimizer-mcp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Token Optimizer MCP 用于衡量 AI 编码代理的令牌节省情况,优化上下文,并在 16 个 CLI 客户端之间共享一个实时的本地知识图谱。在 5.1.0 版本之前,token-optimizer-mcp 的仪表板 HTTP 服务器公开了 /api/session-summary 和 /api/session-events 端点,且未配置身份验证中间件——任何可访问网络的客户端都可以在不提供凭证的情况下访问这些端点。这两个处理程序都将调用者提供的 sessionId 查询参数直接通过 path.joi

CVSS 5.3 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
ooples token-optimizer-mcp < 5.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55156

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Token Optimizer MCP: Unauthenticated Path Traversal in Dashboard Session Log API Endpoints
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ooples token-optimizer-mcp < 5.1.0 -

II. Public POCs for CVE-2026-55156

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55156

请登录查看更多情报信息。

Other References for CVE-2026-55156 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55156

No comments yet


Leave a comment