CVE-2026-114496

codebase-memory-mcp branch arguments could become Git options

DeusData · codebase-memory-mcp

First documented disclosure · Review checkpoint

Summary

A crafted base branch could redirect Git diff output to another file.

Severity and exploitation evidence

Medium · 5.5/10 · CVSS 3.1. Severity source.

Exploitation not established: Public evidence describes a weakness, source correction or controlled demonstration; malicious exploitation against users is not established.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Shell validation omitted a leading-dash check before using the value as a Git revision.

Conditions required

Ability to call detect_changes with an option-shaped base_branch.

Potential impact

Create or overwrite a chosen file with Git diff output under server permissions; no demonstrated arbitrary code execution.

Affected versions and configurations

Before 0.9.0.

Fix and mitigation status

0.9.0; maintainer recommends verified 0.12.1.

Practical next steps

Upgrade to 0.12.1 or later.

Operating lesson

Reject option-shaped revisions independently of shell escaping.

Evidence and limits

Current verified release checks both since and its base_branch alias. CNA publication 2026-11-20 is distinct from the earliest reviewed public source. GitHub_M assessment: CVSS 3.1 5.5.

Sources