All vulnerabilities

npm · PyPI

CVE-2026-114499

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

Severity
Medium 5.5
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
0.10.0
Exploit chance
0.3% in the next 30 daysHigher than 23% of CVEs. EPSS by FIRST, 1 Dec 2026
Weakness
Regular expression denial of service (ReDoS) (CWE-1333)Uncontrolled resource consumption (CWE-400)
Attack
Needs local access · No login needed · Needs someone to click or open something
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Also known as
GHSA-cjhf-76h2-4hwg
Sources
OSV.dev and GitHub

Description

The indexer's own .gitignore matcher implemented * and ** by backtracking without a bound. A pattern crafted with many wildcards, matched against a long path, made the matcher's work grow exponentially, so a repository could stall discovery indefinitely with a single ignore rule.

Indexing a malicious repository hung the indexing job and, before the daemon isolated workers, the server. Availability only.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

Upgrade to a fixed release. codebase-memory-mcp recommends v0.12.1, which has been verified to contain this fix.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
codebase-memory-mcpPyPI · osv:PyPI:codebase-memory-mcp
  • Every version before 0.10.0
codebase-memory-mcpnpm · osv:npm:codebase-memory-mcp
  • Every version before 0.10.0

About codebase-memory-mcp

Weekly downloads (PyPI)
1,862PyPI Stats, 1 Dec 2026

About codebase-memory-mcp

Weekly downloads (npm)
10,962npm, 1 Dec 2026

References