MCP Memory Keeper: Arbitrary local file read in mcp-memory-keeper context_import via unvalidated filePath
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| mkreyman | mcp-memory-keeper | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Mkreyman | Mcp-memory-keeper |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-f7wf-v2vw-mpcx | mcp-memory-keeper: Arbitrary local file read in context_import via unvalidated filePath |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.249% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mkreyman
Mkreyman mcp-memory-keeper |
|
| Vendors & Products |
Mkreyman
Mkreyman mcp-memory-keeper |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | MCP Memory Keeper: Arbitrary local file read in mcp-memory-keeper context_import via unvalidated filePath | |
| Weaknesses | CWE-209 CWE-22 |
|
| References |
|
|
| Metrics |
cvssV3_1
|