CVE-2026-114497
JSON

5.5medium

codebase-memory-mcp: UI process-kill route skipped the ownership check on Windows, allowing termination of arbitrary processes

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-r2qv-x3rg-p49m

Description

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.

Affected

Product or packageVersionsReported by
DeusData codebase-memory-mcp< 0.9.1-rc.1CVE List
codebase-memory-mcp (npm)before 0.9.1-rc.1GitHub Advisory Database
codebase-memory-mcp (PyPI)before 0.10.0GitHub Advisory Database

All scores

GitHub_M5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-114497 changed 2026-11-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-r2qv-x3rg-p49m changed 2026-12-01CC-BY-4.0
NVDCVE-2026-114497 changed 2026-11-24Public domain