{"vuln_id":"CVE-2026-114496","aliases":["GHSA-2vj2-hwgx-6f23"],"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.","published_at":"2026-11-20T20:17:11.240000Z","modified_at":"2026-11-20T21:17:28Z","first_seen_at":"2026-11-21T19:15:51.430554Z","severity":"medium","severity_source":"nvd","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","cwe":["CWE-88"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00295,"epss_percentile":0.22413,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-114496"},"matched_alias":null,"items":[{"id":10020,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-114496: 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…","summary":"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.\n\nReferences:\nhttps://github.com/DeusData/codebase-memory-mcp/commit/72e6a14adb50a37a245eb6ec79c9eb31eee48951\nhttps://github.com/DeusData/codebase-memory-mcp/pull/941\nhttps://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0\nhttps://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-2vj2-hwgx-6f23","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114496","published_at":"2026-11-20T20:17:11.240000Z","updated_at":"2026-11-20T21:17:28Z","fetched_at":"2026-11-21T19:15:31.485501Z","severity":"medium","cvss_score":5.5,"epss":0.00295,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-114496","vuln_ids":["CVE-2026-114496","GHSA-2VJ2-HWGX-6F23"],"tags":["CWE-88"],"cluster_id":10056,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10020","html":"https://vulnwatch.ve1ve2.com/item/10020"}}]}