Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @ooples/token-optimizer-mcp
  4. ›
  5. CVE-2026-55156

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

August 14, 2026

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. Successful reproduction confirmed exfiltration of a .jsonl file located outside the intended hooksDataPath directory with a single unauthenticated HTTP GET request.

References

  • github.com/advisories/GHSA-76pc-mqxp-3rq5
  • github.com/ooples/token-optimizer-mcp/commit/b4ee96dac799cbfba0a9f9c17844ce9d613cbcc7
  • github.com/ooples/token-optimizer-mcp/releases/tag/v5.1.0
  • github.com/ooples/token-optimizer-mcp/security/advisories/GHSA-76pc-mqxp-3rq5
  • nvd.nist.gov/vuln/detail/CVE-2026-55156

Code Behaviors & Features

Detect and mitigate CVE-2026-55156 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.1.0

Fixed versions

  • 5.1.0

Solution

Upgrade to version 5.1.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/@ooples/token-optimizer-mcp/CVE-2026-55156.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 15 Aug 2026 00:22:23 +0000.