codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer
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 Packages
No package information available.
Actions
Advisory Details
| Published: | November 20, 2026 11 days ago |
| Updated: | November 30, 2026 1 day ago |
| CVSS Score: | 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| Source: | Osv |
| UUID: | CVE-2026-114499 |
References
- https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.0
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114499.json
- https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-cjhf-76h2-4hwg
- https://nvd.nist.gov/vuln/detail/CVE-2026-114499
- https://github.com/DeusData/codebase-memory-mcp/commit/886a8856a4e4a2ad3ba602d07e45c3b450117f6b
- https://github.com/DeusData/codebase-memory-mcp/pull/1464