Skip to content
MediumVulnerability

CVE-2026-114496: codebase-memory-mcp detect_changes base_branch argument injection

Identifier
CVE-2026-114496
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

codebase-memory-mcp, prior to 0.9.0, had a flaw in its detect_changes tool. The base_branch argument was checked for shell metacharacters but not for a leading dash, so Git read an option-shaped value such as --output as a command option rather than a revision. A caller could thereby create or overwrite a chosen file with Git diff output, under the server process's permissions. Arbitrary code execution was not demonstrated.

Mitigation

Fixed in 0.9.0.