A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. Prior to 0.9.0, the detect_changes tool validated the base_branch argument for shell metacharacters but omitted the leading-dash check before placing the value in the revision position of a git diff command. Git therefore interpreted an option-shaped base_branch value, including --output, as a command option instead of a revision, allowing a caller to create or overwrite a caller-chosen file with Git diff output under the server process's permissions. Arbitrary code execution was not demonstrated. This issue is fixed in version 0.9.0.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /DeusData/codebase-memory-mcp/commit/72e6a14adb50a37a245eb6…
- github.com /DeusData/codebase-memory-mcp/pull/941
- github.com /DeusData/codebase-memory-mcp/releases/tag/v0.9.0
- github.com /DeusData/codebase-memory-mcp/security/advisories/GHSA-2vj2…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning