{"answers":{"affected":"2 open source packages ship an affected version, including @ooples/token-optimizer-mcp.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55156 exists.","fix":"Upgrade @ooples/token-optimizer-mcp to 5.1.0 or later.","what":"CVE-2026-55156 is a medium-severity path traversal vulnerability in ooples token-optimizer-mcp, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55156 and fix it if it is affected.\n\nWhat it is: CVE-2026-55156 is a medium-severity path traversal vulnerability in ooples token-optimizer-mcp, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55156 exists.\n\nAffected packages and fixed versions:\n- @ooples/token-optimizer-mcp (npm): affected all versions; fixed in 5.1.0\n- @ooples/token-optimizer-mcp (npm): affected all versions; fixed in 5.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55156/ (Markdown: https://insights.sbomify.com/CVE-2026-55156/index.md)","id":"CVE-2026-55156","markdown":"https://insights.sbomify.com/CVE-2026-55156/index.md","name":"CVE-2026-55156","record":{"aliases":["GHSA-76pc-mqxp-3rq5"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Token Optimizer MCP","requires_auth":"none","summary":"Unauthenticated attackers can read arbitrary JSONL files via path traversal in the dashboard API, exposing sensitive session data.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Token Optimizer MCP: Unauthenticated Path Traversal in Dashboard Session Log API Endpoints","id":"CVE-2026-55156","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Token Optimizer MCP: OS command injection in smart_user via username in get-user-info","id":"CVE-2026-55157"},"packages":[{"ecosystem":"npm","fixed":["5.1.0"],"introduced":["0"],"last_affected":[],"package":"@ooples/token-optimizer-mcp","purl":null,"source":"GHSA-76pc-mqxp-3rq5"},{"ecosystem":"npm","fixed":["5.1.0"],"introduced":["0"],"last_affected":[],"package":"@ooples/token-optimizer-mcp","purl":"pkg:npm/%40ooples/token-optimizer-mcp","source":"GHSA-76pc-mqxp-3rq5"}],"prev":{"headline":"EspoCRM: CSV/Formula Injection sanitizer bypass via leading whitespace/control characters in export","id":"CVE-2026-55154"},"products":["token-optimizer-mcp"],"published":"2026-09-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-28","vendors":["ooples"]},"summary":"Unauthenticated attackers can read arbitrary JSONL files via path traversal in the dashboard API, exposing sensitive session data.","url":"https://insights.sbomify.com/CVE-2026-55156/"}