{"id":"CVE-2026-108751","state":"PUBLISHED","title":"MoAI-ADK through 3.1.2 Symlink Following via moai init Template Deployer","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.","publishedAt":"2026-10-11T12:19:51.354Z","updatedAt":"2026-10-13T13:33:19.284Z","severity":{"score":4.8,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["modu-ai moai-adk"],"affected":[{"vendor":"modu-ai","product":"moai-adk","packageURL":"pkg:github/modu-ai/moai-adk","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.1.2","versionType":"semver"}],"repo":"https://github.com/modu-ai/moai-adk"}],"references":["https://hackmd.io/@haind/moai-adk-template-staging-symlink-overwrite","https://github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec966842c8732/internal/template/deployer.go#L19-L32","https://github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec966842c8732/internal/template/deployer.go#L160-L203","https://github.com/modu-ai/moai-adk","https://www.vulncheck.com/advisories/moai-adk-through-3.1.2-symlink-following-via-moai-init-template-deployer"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/108xxx/CVE-2026-108751.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-108751","state":"PUBLISHED","datePublished":"2026-10-11T12:19:51.354Z","dateUpdated":"2026-10-13T13:33:19.284Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-11T01:54:14.881Z"},"containers":{"cna":{"title":"MoAI-ADK through 3.1.2 Symlink Following via moai init Template Deployer","descriptions":[{"lang":"en","value":"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":[{"vendor":"modu-ai","product":"moai-adk","packageURL":"pkg:github/modu-ai/moai-adk","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.1.2","versionType":"semver"}],"repo":"https://github.com/modu-ai/moai-adk"}],"references":[{"url":"https://hackmd.io/@haind/moai-adk-template-staging-symlink-overwrite","tags":["third-party-advisory"]},{"url":"https://github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec966842c8732/internal/template/deployer.go#L19-L32","tags":["technical-description"]},{"url":"https://github.com/modu-ai/moai-adk/blob/4b2f203feda9c2cb6d7771969f4ec966842c8732/internal/template/deployer.go#L160-L203","tags":["technical-description"]},{"url":"https://github.com/modu-ai/moai-adk","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/moai-adk-through-3.1.2-symlink-following-via-moai-init-template-deployer","name":"VulnCheck Advisory: MoAI-ADK through 3.1.2 Symlink Following via moai init Template Deployer","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":4.4,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-11T12:19:51.354Z"},"datePublic":"2026-10-10T00:00:00.000Z","credits":[{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://hackmd.io/@haind/moai-adk-template-staging-symlink-overwrite","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-13T13:31:50.670380Z","id":"CVE-2026-108751","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-13T13:33:19.284Z"}}]}}}