Local file disclosure via unvalidated import path
Published Sep 15, 2026 · Updated Sep 15, 2026
Path traversal in MCP Memory Keeper before 0.13.0 allows local users to read files through the context_import tool. The handler passes caller-controlled filePath directly to fs.readFileSync without directory confinement, then either imports valid JSON or returns parser errors containing leading file bytes. Access to the MCP tool is required, and disclosure is limited to files readable by the server process; JSON files can be recovered in full, while other files expose only leading bytes.
Summary
What happened
Path traversal in MCP Memory Keeper before 0.13.0 allows local users to read files through the context_import tool. The handler passes caller-controlled filePath directly to fs.readFileSync without directory confinement, then either imports valid JSON or returns parser errors containing leading file bytes. Access to the MCP tool is required, and disclosure is limited to files readable by the server process; JSON files can be recovered in full, while other files expose only leading bytes.
The record
- CVE
- CVE-2026-54561
- Published
- Sep 15, 2026
- Updated
- Sep 15, 2026
- Vendor
- Mark Kreyman
- Product
- MCP Memory Keeper
- Classifications
- CWE-22, CWE-209, T1005
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 15, 2026CVE publishedPublication date reported by the CVE source.
- Sep 15, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.13.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- context_import arbitrary-file-read proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo