Skip to content

CVE-2026-114499 codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer

MediumCVSS 5.5 EPSS 0.29%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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