CVE-2026-114497: codebase-memory-mcp UI Process-kill Route Skipped The Vulnerability

MODERATE
Advisory Identifier: GHSA-r2qv-x3rg-p49m
CVSS 5.5
CWE-862
Published
Advisory Summary

CVE-2026-114497 is a MODERATE (CVSS 5.5) ui process-kill route skipped the vulnerability (CWE-862: Missing Authorization) affecting codebase-memory-mcp libraries in the npm ecosystem. The issue involves ui process-kill route skipped the ownership check on windows, allowing termination of arbitrary processes. Remediation is available by upgrading affected packages to version 0.9.1-rc.1, 0.10.0.

CVE-2026-114497 at a Glance

CVE Identifier CVE-2026-114497
GHSA Identifier GHSA-r2qv-x3rg-p49m
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-862: Missing Authorization
Affected Product codebase-memory-mcp
Package Ecosystem npm
Published Date
Last Updated

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:L/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-114497

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.

codebase-memory-mcp fixed: 0.9.1-rc.1
npm install codebase-memory-mcp@0.9.1-rc.1
codebase-memory-mcp fixed: 0.10.0
pip install codebase-memory-mcp>=0.10.0
Verify Direct and Transitive Dependencies

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-114497, 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.9.1-rc.1), 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. 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

### Summary The optional graph UI exposed a `POST /api/process-kill` route to stop indexing jobs it had spawned. On POSIX the handler verified that the target PID belonged to one of its own jobs; on Windows that check was compiled out, so any PID could be passed to `TerminateProcess`. ### Impact On Windows with the optional UI enabled, a requester able to reach this endpoint could terminate a process that the server's user was permitted to terminate. This advisory covers the missing ownership check on the target PID. ### Patches The vulnerable route was removed. The first fixed native and npm release is 0.9.1-rc.1; the first verified fixed stable PyPI release is 0.10.0. The Host-header changes in 0.9.0 did not repair the missing Windows PID ownership check. codebase-memory-mcp has verified that published v0.12.1 has no arbitrary-PID process-kill route and that the removed endpoint returns 404. The recommended upgrade for every distribution is v0.12.1; codebase-memory-mcp does not rely on historical PyPI prerelease delivery. ### Workarounds On affected Windows versions, do not enable the optional UI. Upgrade to a fixed stable release; the verified recommendation is v0.12.1. codebase-memory-mcp does not recommend relying on historical prerelease package delivery. ### Credit Reported privately by Aaron (@aaronjmars), who identified the remaining Windows gap after the initial remediation. codebase-memory-mcp thanks them.

CVE-2026-114497 Affected codebase-memory-mcp Versions

2 component(s)
Fixed Versions:
0.9.1-rc.10.10.0
Product / Package Ecosystem Affected Versions Fixed Version
codebase-memory-mcp
npm
< 0.9.1-rc.1
0.9.1-rc.1
codebase-memory-mcp
PyPI
< 0.10.0
0.10.0

References

Frequently Asked Questions

What is CVE-2026-114497?
CVE-2026-114497 is a security vulnerability in codebase-memory-mcp involving UI process-kill route skipped the ownership check on Windows, allowing termination of arbitrary processes under CWE-862: Missing Authorization.
Which codebase-memory-mcp versions are affected?
Affected versions include releases prior to 0.9.1-rc.1, 0.10.0 across affected packages: codebase-memory-mcp.
What version fixes CVE-2026-114497?
Upgrading to 0.9.1-rc.1, 0.10.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is codebase-memory-mcp affected?
Yes, codebase-memory-mcp is affected in releases prior to 0.9.1-rc.1, 0.10.0. Upgrade your dependency to 0.9.1-rc.1, 0.10.0 or later.
What is the CVSS score of CVE-2026-114497?
CVE-2026-114497 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-114497?
CVE-2026-114497 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check npm dependencies for CVE-2026-114497?
Run the dependency tree command: 'npm ls codebase-memory-mcp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r2qv-x3rg-p49m",
  "modified" : "2026-12-01T00:47:36Z",
  "published" : "2026-12-01T00:47:36Z",
  "aliases" : [ "CVE-2026-114497" ],
  "summary" : "codebase-memory-mcp: UI process-kill route skipped the ownership check on Windows, allowing termination of arbitrary processes",
  "details" : "### Summary\n\nThe optional graph UI exposed a `POST /api/process-kill` route to stop indexing jobs it had spawned. On POSIX the handler verified that the target PID belonged to one of its own jobs; on Windows that check was compiled out, so any PID could be passed to `TerminateProcess`.\n\n### Impact\n\nOn Windows with the optional UI enabled, a requester able to reach this endpoint could terminate a process that the server's user was permitted to terminate. This advisory covers the missing ownership check on the target PID.\n\n### Patches\n\nThe vulnerable route was removed. The first fixed native and npm release is 0.9.1-rc.1; the first verified fixed stable PyPI release is 0.10.0. The Host-header changes in 0.9.0 did not repair the missing Windows PID ownership check. codebase-memory-mcp has verified that published v0.12.1 has no arbitrary-PID process-kill route and that the removed endpoint returns 404. The recommended upgrade for every distribution is v0.12.1; codebase-memory-mcp does not rely on historical PyPI prerelease delivery.\n\n### Workarounds\n\nOn affected Windows versions, do not enable the optional UI. Upgrade to a fixed stable release; the verified recommendation is v0.12.1. codebase-memory-mcp does not recommend relying on historical prerelease package delivery.\n\n### Credit\n\nReported privately by Aaron (@aaronjmars), who identified the remaining Windows gap after the initial remediation. codebase-memory-mcp thanks them.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "codebase-memory-mcp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.1-rc.1"
      } ]
    } ]
  }, {
    "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-r2qv-x3rg-p49m"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-114497"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/DeusData/codebase-memory-mcp/pull/1139"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/DeusData/codebase-memory-mcp/commit/0baddf788737b1b0792f5af7ac63e05de87f382a"
  }, {
    "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"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.1-rc.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-01T00:47:36Z",
    "nvd_published_at" : "2026-11-20T20:17:11Z"
  }
}