CVE-2026-108751: Improper Link Resolution Before File Access ('Link Following') in modu-ai moai-adk
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.
CVSS v4.0
Score 4.8medium
Affected software
modu-ai
moai-adk
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
MoAI-ADK versions up to 3.1.2 contain an improper link resolution vulnerability in the moai init template deployer. The flaw allows malicious repositories to create symbolic links in the .moai-tmp staging path, such as .claude/settings.json.moai-tmp. When atomicWriteFile operates on these symlinks, it can truncate and overwrite files outside the intended project directory with MoAI template content, potentially leading to unauthorized file modification.
Potential Impact
An attacker with the ability to commit malicious repositories can overwrite victim-writable files outside the project directory. This could result in unauthorized modification or corruption of files, but the vulnerability requires local access with some privileges and user interaction. The CVSS score of 4.8 reflects a medium severity with limited attack vector and complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted repositories with moai init template deployer and restrict write permissions to sensitive files to mitigate potential exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-11T01:54:14.881Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6acb85c42cdf04f656d09a30
Added to database: 10/11/2026, 12:49:08 UTC
Last enriched: 10/11/2026, 13:03:49 UTC
Last updated: 10/11/2026, 21:33:15 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.