{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-114496","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-10-21T16:15:06.491Z","datePublished":"2026-11-20T19:52:27.866Z","dateUpdated":"2026-11-20T20:37:57.304Z"},"containers":{"cna":{"title":"codebase-memory-mcp: git option injection through base_branch in detect_changes allows writing a file outside the project","problemTypes":[{"descriptions":[{"cweId":"CWE-88","lang":"en","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-2vj2-hwgx-6f23","tags":["x_refsource_CONFIRM"],"url":"https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-2vj2-hwgx-6f23"},{"name":"https://github.com/DeusData/codebase-memory-mcp/pull/941","tags":["x_refsource_MISC"],"url":"https://github.com/DeusData/codebase-memory-mcp/pull/941"},{"name":"https://github.com/DeusData/codebase-memory-mcp/commit/72e6a14adb50a37a245eb6ec79c9eb31eee48951","tags":["x_refsource_MISC"],"url":"https://github.com/DeusData/codebase-memory-mcp/commit/72e6a14adb50a37a245eb6ec79c9eb31eee48951"},{"name":"https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0","tags":["x_refsource_MISC"],"url":"https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0"}],"affected":[{"vendor":"DeusData","product":"codebase-memory-mcp","versions":[{"version":"< 0.9.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-11-20T19:52:27.866Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-2vj2-hwgx-6f23","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-20T20:37:50.157360Z","id":"CVE-2026-114496","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-20T20:37:57.304Z"}}]}}