Skip to main content
CVE-2026-114496VulnerabilityPublished

codebase-memory-mcp: git option injection through base_branch

Affects codebase-memory-mcpSource GCVE Database

0
Compare
Authoritative record:CVE-2026-114496· Medium 5.5

Not known to be exploited · CVSS 5.5 Medium : upgrade to 0.9.0 when convenient.

Data as of 1 Dec 2026, 01:47 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.5
Patch
Available – fixed in 0.9.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade codebase-memory-mcp to 0.9.0.

Affected software

ProductAffectedFixed in
npmcodebase-memory-mcpAffected
  • <0.9.0
Fixed in
  • 0.9.0
PyPIcodebase-memory-mcpAffected
  • <0.9.0
Fixed in
  • 0.9.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to codebase-memory-mcp version 0.9.0 or later. The vulnerability is fixed in these versions by rejecting option-like base_branch values before invoking git. The recommended version is 0.12.1, which has been verified to contain the fix. No other workarounds are necessary.

Description

A vulnerability in codebase-memory-mcp before version 0.9.0 allows an attacker to inject git options via the base_branch argument in the detect_changes tool. This flaw permits writing or overwriting files at arbitrary paths with git diff output, constrained by the server process's permissions. The issue was fixed in version 0.9.0 by rejecting option-like values before invoking git.

References

Community reviews

Loading reviews…