Catastrophic backtracking in .gitignore matching stalls indexing
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
codebase-memory-mcp before 0.10.0 has an inefficient .gitignore glob matcher that implements * and ** through recursive backtracking without a work bound. A repository with a pattern containing repeated wildcard groups and a long path can make matching time grow exponentially (CWE-1333), so a single ignore rule can stall discovery indefinitely. An attacker must get a crafted repository indexed by a local user, and the impact is limited to availability.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DeusData | codebase-memory-mcp | before 0.10.0 | 0.10.0 | Patch available | CNA |
| — | codebase-memory-mcp (npm) | before 0.10.0 | 0.10.0 | Patch available | GHSA-cjhf-76h2-4hwg |
| — | codebase-memory-mcp (PyPI) | before 0.10.0 | 0.10.0 | Patch available | GHSA-cjhf-76h2-4hwg |
- codebase-memory-mcp VendorDeusData Affected before 0.10.0 Fixed in 0.10.0 Patch available CNA
- codebase-memory-mcp (npm) Vendor— Affected before 0.10.0 Fixed in 0.10.0 Patch available GHSA-cjhf-76h2-4hwg
- codebase-memory-mcp (PyPI) Vendor— Affected before 0.10.0 Fixed in 0.10.0 Patch available GHSA-cjhf-76h2-4hwg
Remediation
Upgrade codebase-memory-mcp to version 0.10.0, which fixes the issue in the DeusData product and in the npm and PyPI packages.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA codebase-memory-mcp (DeusData) Fixed in 0.10.0
- Fix · GHSA-cjhf-76h2-4hwg codebase-memory-mcp (npm) Fixed in 0.10.0 Advisory →
- Fix · GHSA-cjhf-76h2-4hwg codebase-memory-mcp (PyPI) Fixed in 0.10.0 Advisory →
Timeline
- 2026-11-20 Threatist record created from CVE-2026-114499
- 2026-11-23 CISA SSVC decision points changed
- 2026-12-01 Alias added: GHSA-cjhf-76h2-4hwg
- 2026-12-01 Fix available: PyPI/[email protected], npm/[email protected] · GHSA-cjhf-76h2-4hwg
- 2026-12-01 CVSS score added · GHSA-cjhf-76h2-4hwg
- 2026-12-01 Weakness changed · GHSA-cjhf-76h2-4hwg
- 2026-12-01 6 new references · GHSA-cjhf-76h2-4hwg
References
Other 5
- https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-cjhf-76h2-4hwg
- https://github.com/DeusData/codebase-memory-mcp/pull/1464
- https://github.com/DeusData/codebase-memory-mcp/commit/886a8856a4e4a2ad3ba602d07e45c3b450117f6b
- https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.0
- https://github.com/DeusData/codebase-memory-mcp
More DeusData vulnerabilities
- TI-2026-96051 Heap buffer overflow in codebase-memory-mcp artifact import CVSS 3.1HIGH 7.8
- TI-2026-96050 Stack out-of-bounds write in codebase-memory-mcp query_graph CVSS 3.1HIGH 7.8
- TI-2026-96053 Missing authorization in codebase-memory-mcp UI on Windows CVSS 3.1MEDIUM 5.5
- TI-2026-96052 Git option injection in codebase-memory-mcp lets attackers write files CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-114499 · CVE Program
- CVE-2026-114499 · NVD
- FIRST EPSS
- GHSA-cjhf-76h2-4hwg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences