SecurityContext

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

IdName
CWE-88Improper Neutralization of Argument Delimiters in a Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/DeusData/codebase-memory-mcp/commit/72e6a14adb50a37a245eb6ec79c9eb31eee48951
https://github.com/DeusData/codebase-memory-mcp/pull/941
https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0
https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-2vj2-hwgx-6f23

Projects

RepositoryLink kindsIndexedUrl
deusdata/codebase-memory-mcpcommit, pull, releases, security_advisoryyes/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