← VULNERABILITIES

CVE-2026-114499

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

Medium · 5.5Fix available
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

EcosystemPackageRangeFixed
PyPIcodebase-memory-mcp< 0.10.00.10.0
PyPIcodebase-memory-mcp>=0, <0.10.00.10.0
npmcodebase-memory-mcp< 0.10.00.10.0
npmcodebase-memory-mcp>=0, <0.10.00.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

JSON