{"id":"GHSA-r2qv-x3rg-p49m","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.","aliases":["CVE-2026-114497"],"modified":"2026-12-01T01:00:04.485407509Z","published":"2026-12-01T00:47:36Z","database_specific":{"github_reviewed_at":"2026-12-01T00:47:36Z","nvd_published_at":"2026-11-20T20:17:11Z","cwe_ids":["CWE-862"],"severity":"MODERATE","github_reviewed":true},"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"}],"affected":[{"package":{"name":"codebase-memory-mcp","ecosystem":"npm","purl":"pkg:npm/codebase-memory-mcp"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.1-rc.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-r2qv-x3rg-p49m/GHSA-r2qv-x3rg-p49m.json"}},{"package":{"name":"codebase-memory-mcp","ecosystem":"PyPI","purl":"pkg:pypi/codebase-memory-mcp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0"}]}],"versions":["0.8.1","0.9.0","0.9.1rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-r2qv-x3rg-p49m/GHSA-r2qv-x3rg-p49m.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}