{"id":"CVE-2026-108751","revision":"e57e7290fbf74d0bbcda0cc6608a6789","records":[{"revision":"e57e7290fbf74d0bbcda0cc6608a6789","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-108751","aliases":[],"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.","state":0,"publishedAt":"2026-10-11T12:19:51.354+00:00","modifiedAt":"2026-10-13T13:33:19.284+00:00","affected":[{"ecosystem":"Vendor product","name":"moai-adk","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"modu-ai\",\n                    \"product\": \"moai-adk\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"3.1.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/modu-ai/moai-adk\",\n                    \"repo\": \"https://github.com/modu-ai/moai-adk\"\n                }"}],"metrics":[{"system":"CVSS 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","score":4.8,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.4,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-108751","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-108751","identifiers":["CVE-2026-108751"]},"retained":false,"historicalAffected":[]}],"coverage":[]}