Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-114496— codebase-memory-mcp: git option injection through base_branch in detect_changes allows writing a file outside the project

Quick assessment

Affected
DeusData codebase-memory-mcp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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 b

CVSS 5.5 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
DeusData codebase-memory-mcp < 0.9.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-114496

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
codebase-memory-mcp: git option injection through base_branch in detect_changes allows writing a file outside the project
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
参数注入或修改
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
DeusData codebase-memory-mcp < 0.9.0 -

II. Public POCs for CVE-2026-114496

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-114496

请登录查看更多情报信息。

Other References for CVE-2026-114496 (4)

Same Patch Batch · DeusData · 2026-11-20 · 5 CVEs total

CVE-2026-114495 7.8 HIGH codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompressi
CVE-2026-114494 7.8 HIGH codebase-memory-mcp: Stack out-of-bounds write in query_graph via a RETURN or WITH clause
CVE-2026-114499 5.5 MEDIUM codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a reposito
CVE-2026-114497 5.5 MEDIUM codebase-memory-mcp: UI process-kill route skipped the ownership check on Windows, allowin

IV. Related Vulnerabilities