CVE-2026-114499
codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer
- CVSS
- 5.5
- EPSS
- 0.17% (p4)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-12-01
- Product
- DeusData codebase-memory-mcp
- Aliases
- GHSA-cjhf-76h2-4hwg
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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.
Fixed in
0.10.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| PyPI | codebase-memory-mcp | < 0.10.0 | 0.10.0 |
| PyPI | codebase-memory-mcp | >=0, <0.10.0 | 0.10.0 |
| npm | codebase-memory-mcp | < 0.10.0 | 0.10.0 |
| npm | codebase-memory-mcp | >=0, <0.10.0 | 0.10.0 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 9h ago · CC-BY 4.0
- GitHub Advisory Database · first seen 10h ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-cjhf-76h2-4hwg x_refsource_CONFIRM
- https://github.com/DeusData/codebase-memory-mcp/pull/1464 x_refsource_MISC
- https://github.com/DeusData/codebase-memory-mcp/commit/886a8856a4e4a2ad3ba602d07e45c3b450117f6b x_refsource_MISC
- https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-114499 other
- https://github.com/advisories/GHSA-cjhf-76h2-4hwg other
- https://github.com/DeusData/codebase-memory-mcp package