CVE-2026-114499 codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm codebase-memory-mcp(npm) | < 0.10.0 | 0.10.0 | Fixed |
| pypi codebase-memory-mcp(PyPI) | < 0.10.0; = 0.8.1; = 0.9.0; = 0.9.1rc1 | 0.10.0 | Fixed |
| DeusData codebase-memory-mcp | = < 0.10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| DeusData codebase-memory-mcp | = < 0.10.0 | No fix listed |
| npm codebase-memory-mcp(npm) | < 0.10.0 | 0.10.0 |
| pypi codebase-memory-mcp(PyPI) | < 0.10.0 | 0.10.0 |
| pypi codebase-memory-mcp(PyPI) | = 0.8.1 | No fix listed |
| pypi codebase-memory-mcp(PyPI) | = 0.9.0 | No fix listed |
| pypi codebase-memory-mcp(PyPI) | = 0.9.1rc1 | No fix listed |
References
- https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-cjhf-76h2-4hwg vendor-advisory
- https://github.com/DeusData/codebase-memory-mcp/pull/1464 patch
- https://github.com/DeusData/codebase-memory-mcp/commit/886a8856a4e4a2ad3ba602d07e45c3b450117f6b patch
- https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.0
- ENISA EUVD EUVD-2026-131806 third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product