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.
Published: 2026-09-28
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Confidentiality breach via unauthenticated file read
Action: Apply patch
AI Analysis

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.

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

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

Mon, 28 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Ooples
Ooples token-optimizer-mcp
Vendors & Products Ooples
Ooples token-optimizer-mcp

Mon, 28 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 28 Sep 2026 18:00:00 +0000

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'}


Subscriptions

Ooples Token-optimizer-mcp
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-28T18:11:38.212Z

Reserved: 2026-06-16T15:13:28.165Z

Link: CVE-2026-55156

cve-icon Vulnrichment

Updated: 2026-09-28T18:11:33.281Z

cve-icon NVD

Status : Deferred

Published: 2026-09-28T18:17:23.203

Modified: 2026-09-30T19:57:08.043

Link: CVE-2026-55156

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-28T19:41:55Z

Weaknesses
  • CWE-22

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