Case · 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:

Scope

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.

At a glance

Mechanism and trust boundary

  1. 01

    An attacker places a predictable hidden temporary symlink in a shared destination tree.

  2. 02

    Enumeration skips the dotfile while final-path checking examines a different pathname.

  3. 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

Link to claim
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

Link to claim

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

  1. Nov 26, 2026 · Published version · first publication · revision 288