MEDIUM · CVSS 3.1 5.5 EPSS 0.1% · 2th percentile CWE-862

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

Published 2026-12-01 · Updated 2026-12-01 · Also known as GHSA-r2qv-x3rg-p49m

Summary

The codebase-memory-mcp optional graph UI on Windows omitted an ownership check on the POST /api/process-kill route, enabling the termination of arbitrary processes. Windows users and administrators running affected versions of the codebase-memory-mcp package should upgrade immediately.

Who is affected

On Windows systems with the optional graph UI enabled, an attacker or requester who can reach this endpoint can terminate any process that the server's user has permissions to kill. The vulnerability impacts deployments utilizing affected versions of the PyPI and npm package codebase-memory-mcp.

Exploitability

The vulnerability is exploitable locally with low attack complexity, requiring low privileges and no user interaction, resulting in a high impact on availability (CVSS base score 5.5). CISA KEV status is no, and the EPSS score is 0.001.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-12-01. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
PyPI codebase-memory-mcp >= 0, < 0.10.0 0.10.0 python -m pip install 'codebase-memory-mcp>=0.10.0'
npm codebase-memory-mcp >= 0, < 0.9.1-rc.1 0.9.1-rc.1 npm install [email protected]

CVSS 3.1 vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack vectorLocal
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

FAQ

What causes the vulnerability?

The optional graph UI exposed a POST /api/process-kill route that skipped target PID ownership checks on Windows, whereas POSIX systems properly verified that the PID belonged to one of its own jobs.

Which packages and versions are affected?

The PyPI and npm packages for codebase-memory-mcp are affected (PyPI introduced 0, fixed 0.10.0; npm introduced 0, fixed 0.9.1-rc.1).

What is the recommended fix?

The recommended upgrade for every distribution is v0.12.1, which completely removes the vulnerable route so that it returns a 404.

Original advisory description
### 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

Source records: GHSA-r2qv-x3rg-p49m (OSV.dev) · EPSS by FIRST, 2026-12-01.