CVE-2026-114499 is a medium-severity (CVSS 5.5) Uncontrolled Resource Consumption vulnerability in codebase-memory-mcp. A fix is available for codebase-memory-mcp — see the affected versions and patch details below.
codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-114499.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
codebase-memory-mcp🐍codebase-memory-mcpReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm, PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Summary
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.
Impact
Indexing a malicious repository hung the indexing job and, before the daemon isolated workers, the server. Availability only.
Patches
Fixed in stable 0.10.0 by bounding matching work. In the verified v0.12.1 release, matching uses a shared 20,000-step budget. On exhaustion, the legacy matcher returns a non-match; the checked matcher reports an explicit limit/exhaustion result rather than a partial matching decision. The deterministic exhaustion regression passed. This bounds the matching work; it does not claim that every expensive input is eliminated.
Workarounds
Upgrade to a fixed release. codebase-memory-mcp recommends v0.12.1, which has been verified to contain this fix.
Credit
Reported privately by Aaron (@aaronjmars). codebase-memory-mcp thanks them for the report and careful follow-up.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | codebase-memory-mcp | all versions | 0.10.0npm install codebase-memory-mcp@0.10.0 |
| 🐍PyPI | codebase-memory-mcp | all versions | 0.10.0pip install --upgrade 'codebase-memory-mcp==0.10.0' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for codebase-memory-mcp, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update codebase-memory-mcp to 0.10.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-114499 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2026-114499 in your dependencies?
Find it across npm, PyPI, including transitive dependencies.