{"id":"CVE-2026-108751","summary":"MoAI-ADK through 3.1.2 Symlink Following via moai init Template Deployer","details":"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.","modified":"2026-10-12T02:34:18.092457908Z","published":"2026-10-11T12:19:51.354Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-59"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108751.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108751.json"},{"type":"PACKAGE","url":"https://github.com/modu-ai/moai-adk"},{"type":"ARTICLE","url":"https://github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec966842c8732/internal/template/deployer.go#L160-L203"},{"type":"ARTICLE","url":"https://github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec966842c8732/internal/template/deployer.go#L19-L32"},{"type":"ADVISORY","url":"https://hackmd.io/@haind/moai-adk-template-staging-symlink-overwrite"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108751"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/moai-adk-through-3.1.2-symlink-following-via-moai-init-template-deployer"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/modu-ai/moai-adk","events":[{"introduced":"0"},{"last_affected":"4b2f203feda9c2cb6d7771969f4ec966842c8732"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"3.1.2"}],"source":"AFFECTED_FIELD"}}],"versions":["v3.1.2","v3.1.1","v3.1.0","v3.0.1","v3.0.0","v3.0.0-rc12","v3.0.0-rc6","v3.0.0-rc5","v3.0.0-rc2","v3.0.0-rc1","v2.14.0","v2.13.0","v2.12.0","v2.10.1","v2.10.0","v2.9.1","v2.9.0","v2.8.3","v2.8.2","v2.8.1","v2.8.0","v2.7.22","v2.7.21","v2.7.20","v2.7.16","v2.7.15","v2.7.14","v2.7.13","v2.7.12","v2.7.11","v2.7.9","v2.7.8","v2.7.3","v2.7.2","v2.6.15","v2.6.12","v2.6.11","v2.6.10","v2.6.8","v2.6.5","v2.6.4","v2.6.3","v2.5.2","v2.6.2-teddy","v2.6.1-teddy","v2.6.0","v2.5.3","v2.5.1","v2.5.0","v2.4.7","v2.4.6","v2.4.5","v2.4.4","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.1","v2.3.0","v2.2.8","v2.2.7","v2.2.6","v2.2.5","v2.2.4","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.2","v2.1.1","v2.1.0","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.0","go-v2.0.0-test1","go-v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-108751.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}