CVE-2026-114499: codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer
Published 2026-12-01 · Updated 2026-12-01 · Also known as GHSA-cjhf-76h2-4hwg
Summary
A catastrophic backtracking vulnerability in the .gitignore glob matcher of codebase-memory-mcp allows a malicious repository to cause denial of service by stalling the indexer. Engineering and security teams managing deployments of codebase-memory-mcp should upgrade immediately.
Who is affected
Local deployments indexing untrusted repositories are affected, where a crafted .gitignore pattern with many wildcards matched against a long path causes exponential growth in matching work. This hung the indexing job and potentially the entire server before daemon isolation was implemented, impacting availability only.
Exploitability
The vulnerability requires local access and user interaction to index a malicious repository, resulting in high availability impact with no confidentiality or integrity compromise. The current EPSS score is 0.002, and it is not listed in the CISA Known Exploited Vulnerabilities database.
Remediation
- Upgrade PyPI package codebase-memory-mcp to version 0.10.0 or later (v0.12.1 recommended).
- Upgrade npm package codebase-memory-mcp to version 0.10.0 or later (v0.12.1 recommended).
How to check your project
- Check project dependency files (such as package.json, requirements.txt, or lockfiles) to see if codebase-memory-mcp is in an affected version range prior to 0.10.0.
Automated analysis of the published advisory data, generated 2026-12-01. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | codebase-memory-mcp |
>= 0, < 0.10.0 | 0.10.0 | python -m pip install 'codebase-memory-mcp>=0.10.0' |
| npm | codebase-memory-mcp |
>= 0, < 0.10.0 | 0.10.0 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
What causes the vulnerability in codebase-memory-mcp?
The vulnerability is caused by unbounded backtracking in the indexer's .gitignore implementation when handling '*' and '**' wildcards.
What is the security impact of this flaw?
It leads to a denial of service by hanging indexing jobs and potentially the server, affecting availability without compromising confidentiality or integrity.
How can I fix the issue?
Upgrade the codebase-memory-mcp package on PyPI or npm to version 0.10.0 or later, with v0.12.1 explicitly recommended.
Original advisory description
References
- WEB https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-cjhf-76h2-4hwg
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-114499
- WEB https://github.com/DeusData/codebase-memory-mcp/pull/1464
- WEB https://github.com/DeusData/codebase-memory-mcp/commit/886a8856a4e4a2ad3ba602d07e45c3b450117f6b
- PACKAGE https://github.com/DeusData/codebase-memory-mcp
- WEB https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.0
Source records: GHSA-cjhf-76h2-4hwg (OSV.dev) · EPSS by FIRST, 2026-12-01.