Local Code Execution Vulnerability in codebase-memory-mcp by DeusData
CVE-2026-114496
5.5MEDIUM
What is CVE-2026-114496?
The codebase-memory-mcp tool, designed for local code intelligence support, contains a vulnerability in the detect_changes functionality prior to version 0.9.0. The issue arises due to insufficient validation of the base_branch argument, which fails to check for leading dashes. This oversight permits the input of Git option-shaped values such as --output, leading Git to treat them as commands rather than revisions. Consequently, this flaw could allow malicious users to manipulate or overwrite files within the server's permissions, raising potential security concerns for deployments that utilize this tool. The issue has been addressed in version 0.9.0, so upgrading is strongly recommended.
Affected Version(s)
codebase-memory-mcp < 0.9.0
