Vulnerability · Published Oct 11, 2026 · Assigned by VulnCheck
CVE-2026-108751MoAI-ADK through 3.1.2 Symlink Following via moai init Template Deployer
Medium 4.4
In plain English
A medium-severity security flaw in moai-adk from modu-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
References
- https://hackmd.io/@haind/moai-adk-template-staging-symlink-overwrite third-party-advisory
- https://github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec966842c8732/internal/template/deployer.go#L19-L32 technical-description
- https://github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec966842c8732/internal/template/deployer.go#L160-L203 technical-description
- https://github.com/modu-ai/moai-adk product
- VulnCheck Advisory: MoAI-ADK through 3.1.2 Symlink Following via moai init Template Deployer third-party-advisory