CVE-2026-108751: MoAI-ADK through 3.1.2 Symlink Following via moai init Template Deployer

Published Oct 11, 2026
·
Updated

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 Software

1 affected component
MoAI-ADK<=3.1.2

Event History

Oct 11, 2026
CVE Published
via MITRE·12:19 PM
Data Sourced
via MITRE·12:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of MoAI-ADK through 3.1.2 are exposed when they run moai init against a malicious repository containing a crafted symlinked .moai-tmp staging path. The impact is limited to files the user running the command can write.

2

What must an attacker do to exploit it?

An attacker must prepare a repository with a symlink such as .claude/settings.json.moai-tmp that resolves outside the project. They also need a victim to run moai init on that repository, which causes the template deployer to follow the link and overwrite the target with MoAI template content.

3

How can I check whether a repository is suspicious before running initialization?

Inspect the repository for symlinks using .moai-tmp staging paths, including files named like .claude/settings.json.moai-tmp. Such links can point outside the project directory and should not be trusted when running moai init.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203