Multiple security vulnerabilities have been identified in codebase-memory-mcp, affecting its query processing, artifact import, change detection, optional user interface, and repository indexing components. The issues can allow memory corruption, unauthorized file writes, arbitrary process termination, and denial of service when processing untrusted repositories or queries. Affected versions are earlier releases of the package, with the affected range differing by issue and distribution.
CVE-2026-114494 (CVSS 7.8 — High): The graph query parser did not limit the number of projection items in a RETURN or WITH clause, while execution used fixed stack arrays. A local caller or agent-influenced query with more than 32 projection items could write past those arrays, causing stack corruption, a crash, or potentially worse impact.[/subscribe_to_unlock_form]
Multiple security vulnerabilities have been identified in codebase-memory-mcp, affecting its query processing, artifact import, change detection, optional user interface, and repository indexing components. The issues can allow memory corruption, unauthorized file writes, arbitrary process termination, and denial of service when processing untrusted repositories or queries. Affected versions are earlier releases of the package, with the affected range differing by issue and distribution.
CVE-2026-114494 (CVSS 7.8 — High): The graph query parser did not limit the number of projection items in a RETURN or WITH clause, while execution used fixed stack arrays. A local caller or agent-influenced query with more than 32 projection items could write past those arrays, causing stack corruption, a crash, or potentially worse impact.[emaillocker id="1283"]
CVE-2026-114495 (CVSS 7.8 — High): During automatic import of a repository artifact, the decompression capacity was truncated to a 32-bit integer while the buffer was allocated using a larger 64-bit size. A local user who indexes a malicious repository could trigger the overflow, causing memory corruption, a crash, or potentially code execution.
CVE-2026-114496 (CVSS 5.5 — Medium): The change-detection tool accepted a base branch value that was not checked for a leading dash and passed it to a version-control diff command. A local caller could supply an option-like value that made the command write diff output to a caller-chosen file, allowing unauthorized file creation or overwrite.
CVE-2026-114497 (CVSS 5.5 — Medium): The optional user interface exposed a process-termination endpoint that, on Windows, did not verify that the target process belonged to a job started by the server. A local requester able to reach the endpoint could terminate any process the server user was permitted to terminate.
CVE-2026-114499 (CVSS 5.5 — Medium): The repository ignore-pattern matcher used unbounded backtracking for wildcard patterns. A malicious repository with a crafted ignore rule and a long path could cause exponential matching work, stalling the indexer or server and causing denial of service.
These vulnerabilities collectively present a significant risk to deployments that process untrusted repositories or expose the affected tools to local callers. The most exposed environments are those indexing untrusted code or running the optional user interface. The general action is to prioritize addressing the affected components.
We recommend you to update codebase-memory-mcp to version 0.9.0, 0.9.1-rc.1, or 0.10.0 depending on your installed branch.
The following reports contain further technical details:
[/emaillocker]