CVE-2026-114499
codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer
- Severity
- medium CVSS 5.5 (v3.1)
- Affects
- codebase-memory-mcp · DeusData
- Weakness
- CWE-400: Uncontrolled Resource Consumption
- Published
- 20 November 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.