MoAI-ADK through 3.1.2 Symlink Following via moai init Template Deployer
modu-ai moai-adk
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| modu-ai moai-adk |
| No fix yet |
Original description
MoAI-ADK through 3.1.2 contains an improper link resolution vulnerability in the moai init template deployer that allows malicious repositories to overwrite files outside the project via a symlinked .moai-tmp staging path. Attackers can commit a symlink such as .claude/settings.json.moai-tmp so atomicWriteFile truncates and overwrites victim-writable files with MoAI template content.
From the CVE record · VulnCheck