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.
References6
- github.com/modu-ai/moai-adk
- github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec9…
- github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec9…
- hackmd.io/@haind/moai-adk-template-staging-symlink-overwrite
- www.vulncheck.com/advisories/moai-adk-through-3.1.2-symlink-fol…
- hackmd.io/@haind/moai-adk-template-staging-symlink-overwrite
Metrics
- CVSS 3.1
-
4.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L - CVSS 4.0
-
4.8
MEDIUM
Score source: CNA
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 11 · as of 11 November 2026
- CWE
- CWE-59
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.