MCP Memory temporary-file race changes permissions outside the graph directory
A local account able to modify a shared Memory graph directory could replace a temporary save path with a symlink. The save operation could then change permissions on a file outside the graph. The maintainer lists version 2.2.2 as patched.
The demonstrated Linux race used the optional Streamable HTTP handler and a shared writable graph directory. A test file changed from mode 0600 to 0644. The report does not demonstrate theft of a real credential; default stdio-only installations and private graph directories are outside the demonstrated scenario.
The maintainer's advisory lists 2.2.2 as the patched version. This record describes the disclosed vulnerability and does not assert that DeepInspect would prevent local execution or host compromise.
Takeaway
Upgrade to Memory 2.2.2 and keep graph directories private to the server account. File permissions must be applied through a retained file handle rather than an attacker-replaceable pathname.