CVE-2026-114496: codebase-memory-mcp: git option injection through base_branch in detect_changes allows writing a file outside the project
Vulnerability summary
CVE-2026-114496 is a medium (CVSS 5.5) vulnerability in deusdata codebase-memory-mcp.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 20-11-2026PublishedVulnerability first disclosed.
- 20-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Deusdata1 product
- codebase-memory-mcp< 0.9.0
1 vendor · 1 product
References
4 links- github.com/DeusData/codebase-memory-mcp/pull/941X Refsource MISC
- github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0X Refsource MISC