CVE-2026-84201: appium-mcp-server through 0.1.61 Path Traversal in write_file and write_files_batch
appium-mcp-server through 0.1.61 fails to validate or normalize file paths in the writefile and writefilesbatch tools, allowing attackers to write files outside the intended PROJECTROOT directory. Attackers can supply absolute paths or relative paths with parent directory segments to overwrite arbitrary files with the server user's privileges, including shell profiles and configuration files in the home directory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
appium-mcp-serverto a version that resolves this vulnerability.Fixed in 0.1.61
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be able to invoke the write_file or write_files_batch tools and persuade a user to take an action. No prior privileges are required according to the supplied vector.
What can an attacker overwrite?
The attacker can provide absolute paths or paths containing parent-directory segments to write outside PROJECT_ROOT. Files writable by the server user are exposed, including shell profiles and configuration files in that user’s home directory.
Are batch file writes affected as well as individual writes?
Yes. Both write_file and write_files_batch fail to validate or normalize supplied file paths.