Vulnerabilities in pkg:pypi/codebase-memory-mcp
PACKAGECVE-2026-114499 is a MODERATE (CVSS 5.5) catastrophic backtracking vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting codebase-memory-mcp libraries in the npm ecosystem. The issue involves catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer. Remediation is available by upgrading affected packages to version 0.10.0.
pkg:pypi/codebase-memory-mcp
Vulnerability advisories affecting package pkg:pypi/codebase-memory-mcp. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cjhf-76h2-4hwg | CVE-2026-114499 | MODERATE | codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer |
| GHSA-r2qv-x3rg-p49m | CVE-2026-114497 | MODERATE | codebase-memory-mcp: UI process-kill route skipped the ownership check on Windows, allowing termination of arbitrary processes |
| GHSA-2vj2-hwgx-6f23 | CVE-2026-114496 | MODERATE | codebase-memory-mcp: git option injection through base_branch in detect_changes allows writing a file outside the project |
| GHSA-8xwq-xv2x-853r | CVE-2026-114495 | HIGH | codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity |
| GHSA-vpgh-g3jg-ggx9 | CVE-2026-114494 | HIGH | codebase-memory-mcp: Stack out-of-bounds write in query_graph via a RETURN or WITH clause with more than 32 items |
CVE-2026-114499 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-114499
To remediate this vulnerability, upgrade all affected codebase-memory-mcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install codebase-memory-mcp@0.10.0
pip install codebase-memory-mcp>=0.10.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls codebase-memory-mcp
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-114499, inspect your project dependencies using npm:
npm ls codebase-memory-mcp
Analyze the terminal output to locate any version of codebase-memory-mcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.0), your application is affected.
Note: The npm ls codebase-memory-mcp command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In codebase-memory-mcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-114499 Affected codebase-memory-mcp Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
codebase-memory-mcp
|
npm |
< 0.10.0
|
0.10.0
|
|
codebase-memory-mcp
|
PyPI |
< 0.10.0
|
0.10.0
|
References
Frequently Asked Questions
What is CVE-2026-114499?
Which codebase-memory-mcp versions are affected?
What version fixes CVE-2026-114499?
Is codebase-memory-mcp affected?
What is the CVSS score of CVE-2026-114499?
What CWE is associated with CVE-2026-114499?
How can I check npm dependencies for CVE-2026-114499?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cjhf-76h2-4hwg",
"modified" : "2026-12-01T00:49:37Z",
"published" : "2026-12-01T00:49:36Z",
"aliases" : [ "CVE-2026-114499" ],
"summary" : "codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer",
"details" : "### Summary\n\nThe 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.\n\n### Impact\n\nIndexing a malicious repository hung the indexing job and, before the daemon isolated workers, the server. Availability only.\n\n### Patches\n\nFixed 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.\n\n### Workarounds\n\nUpgrade to a fixed release. codebase-memory-mcp recommends v0.12.1, which has been verified to contain this fix.\n\n### Credit\n\nReported privately by Aaron (@aaronjmars). codebase-memory-mcp thanks them for the report and careful follow-up.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "codebase-memory-mcp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "codebase-memory-mcp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-cjhf-76h2-4hwg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-114499"
}, {
"type" : "WEB",
"url" : "https://github.com/DeusData/codebase-memory-mcp/pull/1464"
}, {
"type" : "WEB",
"url" : "https://github.com/DeusData/codebase-memory-mcp/commit/886a8856a4e4a2ad3ba602d07e45c3b450117f6b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/DeusData/codebase-memory-mcp"
}, {
"type" : "WEB",
"url" : "https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333", "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-01T00:49:36Z",
"nvd_published_at" : "2026-11-20T20:17:12Z"
}
}