CVE-2026-114496

MEDIUM CVSS 3.1: 5.5 EPSS 0.19%
Updated Nov 21, 2026
codebase-memory-mcp
Parameter Value
CVSS 5.5 (MEDIUM)
Fixed In 0.9.0
Type CWE-88
Vendor codebase-memory-mcp
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)