{"answers":{"affected":"2 open source packages ship an affected version, including mcp-memory-keeper.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54561 exists.","fix":"Upgrade mcp-memory-keeper to 0.13.0 or later.","what":"CVE-2026-54561 is a medium-severity path traversal vulnerability in mkreyman mcp-memory-keeper, published on 15 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54561 and fix it if it is affected.\n\nWhat it is: CVE-2026-54561 is a medium-severity path traversal vulnerability in mkreyman mcp-memory-keeper, published on 15 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54561 exists.\n\nAffected packages and fixed versions:\n- mcp-memory-keeper (npm): affected all versions; fixed in 0.13.0\n- mcp-memory-keeper (npm): affected all versions; fixed in 0.13.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-54561/ (Markdown: https://insights.sbomify.com/CVE-2026-54561/index.md)","id":"CVE-2026-54561","markdown":"https://insights.sbomify.com/CVE-2026-54561/index.md","name":"CVE-2026-54561","record":{"aliases":["GHSA-f7wf-v2vw-mpcx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MCP server library","requires_auth":"none","summary":"An attacker can read arbitrary local files via path traversal in the context_import tool, exposing sensitive data like credentials and keys.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"description":"MCP Memory Keeper is an MCP server for persistent context management in AI coding assistants. Prior to 0.13.0, context_import in src/index.ts passes the caller-controlled filePath directly to fs.readFileSync without restricting the path to an export directory. An MCP client, including an LLM agent induced to call the tool, can use ../ traversal or an absolute path to target any file readable by the server process. A valid JSON file is parsed and imported into the caller's session, allowing its full contents to be retrieved through context_get or context_export, while JSON.parse errors for non-JSON files can return leading file bytes in a SyntaxError message. The two disclosure modes can expose other exported sessions, JSON credentials or service-account files, environment files, and portions of SSH keys or other local files. This issue is fixed in version 0.13.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":"MCP Memory Keeper: Arbitrary local file read in mcp-memory-keeper context_import via unvalidated filePath","id":"CVE-2026-54561","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":7,"next":{"headline":"Cloudreve: Non-admin remote download users can SSRF loopback/internal services and read imported responses","id":"CVE-2026-54562"},"packages":[{"ecosystem":"npm","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"mcp-memory-keeper","purl":null,"source":"GHSA-f7wf-v2vw-mpcx"},{"ecosystem":"npm","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"mcp-memory-keeper","purl":"pkg:npm/mcp-memory-keeper","source":"GHSA-f7wf-v2vw-mpcx"}],"prev":{"headline":"Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim","id":"CVE-2026-54560"},"products":["mcp-memory-keeper"],"published":"2026-09-15","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["mkreyman"]},"summary":"An attacker can read arbitrary local files via path traversal in the context_import tool, exposing sensitive data like credentials and keys.","url":"https://insights.sbomify.com/CVE-2026-54561/"}