CVE-2026-136625: ai-memory 2.6.0 before 3.3.2 Symlink Arbitrary File Overwrite via ai-memory-wikisync
ai-memory 2.6.0 before 3.3.2 contains a symlink following vulnerability in the ai-memory-wikisync companion that allows local attackers to overwrite arbitrary files by planting symlinks at predictable temporary names. Attackers can place a .wikisync-tmp-<page>.md symlink in a shared destination so atomicwrite() truncates and overwrites its target with the victim's privileges.
Affected Software
Event History
Frequently Asked Questions
Which deployment scenarios are exposed?
Systems using the ai-memory-wikisync companion with a shared destination are exposed when a local attacker can create files or symlinks in that destination. The overwrite occurs with the privileges of the victim process performing the write.
What must an attacker do to exploit this issue?
The attacker must plant a symlink named .wikisync-tmp-<page>.md at a predictable temporary-file path in the shared destination. When atomic_write() uses that path, it truncates and overwrites the symlink target.