Checking the final wiki destination did not protect ai-memory’s temporary write. The maintainer advisory describes a predictable temporary filename being opened without rejecting a symlink, so a local attacker who could create that entry could redirect a later synchronization write under the victim process identity. Dotfiles were skipped before local…
Inspect the ClaimsCase · DiggingBeagle record
A temporary symlink bypassed ai-memory wiki destination checks
The ai-memory wiki-sync advisory describes a predictable temporary file being opened without rejecting a symlink, allowing writes outside the intended destination.
Published by DiggingBeagle:
ai-memory-wikisync versions below 3.3.2, where an attacker can place the predictable local temporary-path symlink before a victim synchronization write.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- not established
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
Assessment follows the primary document cited by the added Claim. No independent reproduction was performed in this research session. The source reports a patch; deployment and recovery of previously affected systems are not verified. Impact remains ungraded because the evidence does not establish an operational affected-population denominator or a defensible corpus-wide harm band.
Assessed Nov 26, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-E286-AI-MEMORY-WIKI · ai-memory wiki sync symlink writes escape destination
At a glance
Field exploitation and the number of affected installations. Whether a particular overwritten file enabled any subsequent execution; the advisory’s write primitive does not establish that consequence.
Limits and uncertaintyFull account
Checking the final wiki destination did not protect ai-memory’s temporary write. The maintainer advisory describes a predictable temporary filename being opened without rejecting a symlink, so a local attacker who could create that entry could redirect a later synchronization write under the victim process identity.
Dotfiles were skipped before local enumeration reached its symlink check. The write could therefore truncate an unintended file before the final rename, even though the final destination passed validation. The correction rejects unsafe temporary entries and uses exclusive temporary-file creation, addressing the operation that actually opens the file.
The advisory lists versions below 3.3.2 and names 3.3.2 as patched. This is a local filesystem prerequisite, not a demonstrated remote prompt-injection route or subsequent code execution. It illustrates why tool scope and process write authority must be checked at intermediate paths as well as at the advertised destination.
Mechanism and trust boundary
- 01
An attacker places a predictable hidden temporary symlink in a shared destination tree.
- 02
Enumeration skips the dotfile while final-path checking examines a different pathname.
- 03
The temporary-file open follows the link and truncates a file with the syncing process privileges.
Claims & evidence
CLM-N26-AI-MEMORY-WIKIThe ai-memory wiki-sync advisory describes a predictable temporary file being opened without rejecting a symlink, allowing writes outside the intended destination.supported
Basis: reported finding
- supportsai-memory wiki sync symlink writes escape destinationprimary disclosure
Affected versions; Description; Impact; Patches or Mitigation
CLM-E286-AI-MEMORY-WIKIThe advisory’s remediation uses exclusive temporary-file creation after rejecting unsafe temporary entries. Checking only the final destination cannot prevent truncation through the separate temporary symlink, because the write happens before the final rename.supported
Basis: reported finding
- supportsai-memory wiki sync symlink writes escape destinationprimary disclosure
Details, Verification and Remediation: atomic_write and create_new(true)
Controls and mitigations
- Upgrade to the reported 3.3.2 correction and use a trusted destination; final-path confinement alone does not secure temporary-file creation.
Unknowns and contradictions
- Field exploitation and the number of affected installations.
- Whether a particular overwritten file enabled any subsequent execution; the advisory’s write primitive does not establish that consequence.
Sources and citation
Material revision history
- Nov 26, 2026 · Published version · first publication · revision 288