CVE-2026-55156

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

Published Sep 28, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a directory traversal flaw (CWE-22) that allows an unauthenticated attacker to read arbitrary .jsonl files residing on the server’s filesystem. The dashboard HTTP server exposed two endpoints, /api/session-summary and /api/session-events, which accepted a sessionId query parameter. The parameter value was concatenated directly into a file path using path.join, and Node.js normalized the .. segments during resolution, thereby enabling the attacker to craft a request that walks outside the intended directory and retrieves any readable JSONL file. The impact is a breach of confidentiality, as attackers can obtain sensitive log data without needing credentials or elevated privileges. No execution or denial‑of‑service impact is disclosed.

Affected Systems

The affected product is Token Optimizer MCP by ooples. All releases before version 5.1.0 contain the flaw. Version 5.1.0 and later include the patch that removes the unauthenticated endpoints or adds proper authentication.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. EPSS is not available, and the flaw is not listed in the CISA KEV catalog, suggesting no known large‑scale exploits. The attack requires only network access to the dashboard server and the ability to craft a URL with a sessionId query string. An attacker could therefore read potentially sensitive session logs from a remote machine, but would need no additional privileges or code execution capability. The overall risk is moderate, with the primary concern being confidentiality exposure of log files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to version 5.1.0 or later to apply the official patch that eliminates the unauthenticated path traversal flaw.
  • If immediate upgrade is not possible, block external access to the /api/session-summary and /api/session-events endpoints using firewall rules or a reverse proxy so that only trusted users or services can reach them.
  • Add or enable authentication middleware on the dashboard API endpoints so that only authenticated clients can request session summaries or events, thereby preventing unauthenticated file reads.

Generated by OpenCVE AI on September 28, 2026 at 19:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-76pc-mqxp-3rq5 Token Optimizer MCP: Unauthenticated Path Traversal in Dashboard Session Log API Endpoints
History
Type Values Removed Values Added
First Time appeared Ooples
Ooples token-optimizer-mcp
Vendors & Products Ooples
Ooples token-optimizer-mcp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Token Optimizer MCP: Unauthenticated Path Traversal in Dashboard Session Log API Endpoints
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 6:11 PM
Reserved
Jun 16, 2026, 3:13 PM
Status
Deferred
Published
Sep 28, 2026, 6:17 PM
Modified
Sep 30, 2026, 7:57 PM