CVE-2026-114496: codebase-memory-mcp - Command Injection
- Cve: CVE-2026-114496
- Name: codebase-memory-mcp - Command Injection
- 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.
- Impact: Callers can create or overwrite arbitrary files with git diff output under the server process's permissions.
- Remediation: Upgrade to version 0.9.0.
- Vulnerability type: command_injection
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: securitycontext
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00295
- Epss percentile: 0.22189
- Assignee: [email protected]
- Published at: 2026-11-20T20:17:11Z
- Age in days: 4
- Modified at: 2026-11-20T21:17:28Z
- References total: 4
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-114496
- Nvd status: received
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| deusdata/codebase-memory-mcp | commit, pull, releases, security_advisory | yes | /v1/repositories/deusdata/codebase-memory-mcp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts