Vulnerability in mcp-memory-keeper
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-54561 has been found in mcp-memory-keeper.
Attackers can target a specific entry point like context_import over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 6.2/10.
What to do: upgrade mcp-memory-keeper to 0.13.0 or later.
If unsure, ask your IT team or search "mcp-memory-keeper CVE-2026-54561" on the vendor's site.
CVE-2026-54561 (mcp-memory-keeper) — CWE-209 / CVSS v3 6.2
Attack vector: local / unauthenticated / no user interaction
Attack surface: context_import / filePath / fs.readFileSync / context_get
Patched: 0.13.0 — apply immediately
Workaround: Upgrade to >= 0.13.0.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-209) exists in mcp-memory-keeper. Attackers reach the vulnerable code path via context_import without authentication.
Check the vendor advisory for the affected versions of mcp-memory-keeper. Attack surface: context_import / filePath / fs.readFileSync / context_get.
Severity: Medium (CVSS 6.2/10). Confidential information can be exposed externally.
Update to 0.13.0.
Workaround: Upgrade to >= 0.13.0.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'mcp-memory-keeper' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'mcp-memory-keeper' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
mcp-memory-keeperを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
Upgrade to **`>= 0.13.0`**.パッチが適用されるまでの応急処置として、Upgrade to
>= 0.13.0. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3
Apply patchpatch
Upgrade mcp-memory-keeper to 0.13.0ステージング環境で 0.13.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmmcp-memory-keeper |
< 0.13.0→ 0.13.0 |
0.13.0 |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- report github.com
- web github.com
- web github.com
- web github.com