{"id":"CVE-2026-114497","aliases":["CVE-2026-114497","GHSA-r2qv-x3rg-p49m"],"related":[],"kind":"vulnerability","state":"published","title":"codebase-memory-mcp: UI process-kill route skipped the ownership check on Windows, allowing termination of arbitrary processes","summary":"codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. Prior to 0.9.1-rc.1, the optional graph UI's POST /api/process-kill route omitted the indexing-job ownership check on Windows while retaining that check on POSIX systems. A requester able to reach the optional UI could supply an arbitrary process identifier, causing TerminateProcess to stop any process that the server user was permitted to terminate. The flaw affects the Windows-specific process termination path and can cause a high availability impact without disclosing or modifying data. This issue is fixed in version 0.9.1-rc.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. Prior to 0.9.1-rc.1, the optional graph UI's POST /api/process-kill route omitted the indexing-job ownership check on Windows while retaining that check on POSIX systems. A requester able to reach the optional UI could supply an arbitrary process identifier, causing TerminateProcess to stop any process that the server user was permitted to terminate. The flaw affects the Windows-specific process termination path and can cause a high availability impact without disclosing or modifying data. This issue is fixed in version 0.9.1-rc.1.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"}],"published":"2026-11-20T19:51:06.329Z","modified":"2026-12-01T01:00:04.485Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"< 0.9.1-rc.1","status":"affected"}],"vendor":"DeusData","product":"codebase-memory-mcp","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.1-rc.1"}],"ecosystem":"npm","package":"codebase-memory-mcp","purl":"pkg:npm/codebase-memory-mcp","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.10.0"}],"ecosystem":"PyPI","package":"codebase-memory-mcp","purl":"pkg:pypi/codebase-memory-mcp","source":"ghsa"}],"references":[{"url":"https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-r2qv-x3rg-p49m","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/DeusData/codebase-memory-mcp/pull/1139","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/DeusData/codebase-memory-mcp/commit/0baddf788737b1b0792f5af7ac63e05de87f382a","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.1-rc.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114497","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/DeusData/codebase-memory-mcp","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-24T00:22:21.489Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-114497","url":"https://www.cve.org/CVERecord?id=CVE-2026-114497","licence":"CVE Terms of Use","modified":"2026-11-24T00:53:15.439Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r2qv-x3rg-p49m","url":"https://github.com/advisories/GHSA-r2qv-x3rg-p49m","licence":"CC-BY-4.0","modified":"2026-12-01T01:00:04.485Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-114497","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114497","licence":"Public domain","modified":"2026-11-24T01:17:20.973Z"}],"updatedAt":"2026-12-01T01:27:24.725Z","epss":{"score":0.00251,"percentile":0.17595,"date":"2026-12-01T12:00:22.000Z"}}