Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-114499 EUVD-2026-131806GHSA-cjhf-76h2-4hwg

codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer

Published Nov 20, 2026 · Updated Nov 23, 2026 · Assigned by GitHub_M

Description

codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. Prior to 0.10.0, the indexer's .gitignore matcher implemented * and ** through recursive backtracking without a work bound. A repository containing a pattern with repeated wildcard groups and a long path could make matching work grow exponentially, allowing a single ignore rule to stall discovery indefinitely and, before worker isolation, stall the server. The impact is limited to availability, and the bounded matcher does not claim that every expensive input is eliminated. This issue is fixed in version 0.10.0.

Affected products

VendorProductAffectedFixed
DeusData codebase-memory-mcp < 0.10.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm codebase-memory-mcp < 0.10.0 0.10.0 GHSA-cjhf-76h2-4hwg
PyPI codebase-memory-mcp < 0.10.0 0.10.0 GHSA-cjhf-76h2-4hwg

References