Skip to content
GitHub Security Advisories·Indexed by this site · Originally published· Event →· Its place in the scan record →

codebase-memory-mcp: .gitignore wildcard matching catastrophic backtracking; a repository can hang the indexer

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

AI summary

codebase-memory-mcp fixes a .gitignore wildcard matching catastrophic backtracking vulnerability (CVE-2026-114499); a malicious repository can hang the indexer indefinitely. The matcher backtracks without bound on `*` and `**`, and the cost grows exponentially when a crafted rule matches a long path; npm and pip versions before 0.10.0 are affected, and the impact is availability only. The official recommendation is v0.12.1, which has been verified to contain the fix.

Read originalgithub.com