Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess MCP server or inject into LLM workflow
-
DeliveryCall write_file with traversal path (e.g., ../../.bashrc)
-
ExploitServer skips path validation
-
ExecutionArbitrary file overwritten as server user
-
ImpactMalicious payload executes on next user login or process start
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must have the ability to call the write_file or write_files_batch MCP tools on the running server - this encompasses direct MCP protocol access or indirect access via an LLM agent that processes attacker-controlled input (prompt injection). No special server configuration is required; the vulnerability is present in the default behavior of all versions through 0.1.61 whenever those tools are enabled. Exploitation is limited to files writable by the OS user running the appium-mcp-server process - root-owned system files are not reachable unless the server runs as root. The CVSS 4.0 vector marks UI:P (passive user interaction), reflecting the typical LLM-mediated deployment where a user triggers the AI workflow; direct API callers face no such barrier. Non-default configurations that restrict the server user's filesystem write permissions or sandbox the process (chroot, container) reduce but do not eliminate risk. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) rates this 6.9 (Medium), reflecting local-only access and passive user interaction - likely modeling an LLM-mediated attack where a user triggers the file write through routine AI interaction. Real-world risk depends heavily on deployment context: MCP servers running locally during Appium test sessions limit blast radius, but the integrity and availability impact (VI:H/VA:H) are genuine - overwriting ~/.bashrc, ~/.ssh/authorized_keys, or cron configurations achieves persistent code execution. No EPSS data was provided, no CISA KEV listing exists, and no POC has been publicly reported. The vulnerability is nonetheless low-complexity (no race conditions, no heap spray, no memory corruption) - any caller with write_file tool access can exploit it deterministically. The product's niche footprint (single-developer npm package) limits aggregate exposure, but any team using this MCP server in an AI-assisted Appium workflow should treat this as a high-priority fix given the trivial exploitation and potential for privilege persistence. |
| Exploit ScenarioDerived | An attacker with access to the running MCP server - either directly via the MCP protocol or indirectly through a prompt-injected AI workflow - calls write_file with a path such as ../../.bashrc or /home/user/.ssh/authorized_keys and attacker-controlled content. The server writes the file without validation, injecting malicious commands or SSH keys that execute the next time the victim user logs in or the shell profile is sourced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Path traversal in appium-mcp-server through 0.1.61 allows any caller of the write_file or write_files_batch MCP tools to overwrite arbitrary files on the host system by supplying absolute paths or parent-directory sequences (../) that escape the intended PROJECT_ROOT boundary. The server user's full filesystem write permissions are exposed, enabling an attacker to corrupt shell profiles, inject cron jobs, or overwrite application configuration files. No public exploit has been identified at time of analysis, but the vulnerability is trivially exploitable given the absence of any path validation logic in the affected tools.
RemediationAI
No vendor-released patched version has been confirmed at time of analysis - the VulnCheck advisory (https://www.vulncheck.com/advisories/appium-mcp-server-through-0.1.61-path-traversal-in-write-file-and-write-files-batch) and referenced source code identify the vulnerable code but do not reference a fixed release. Operators should immediately restrict access to the MCP server to trusted callers only and avoid exposing it to untrusted LLM-generated inputs or external network interfaces. As a compensating control, run the MCP server under a dedicated low-privilege OS user with a restricted home directory and no write access to sensitive paths such as /etc/, ~/.ssh/, or shell profile files. Applying filesystem-level controls (e.g., chroot or container isolation limiting the server user's writable scope to PROJECT_ROOT) directly mitigates the traversal impact without application changes. Monitor the GitHub repository (https://github.com/argneshu/appium-mcp-server) for a patched release and upgrade immediately upon availability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected software is appium-mcp-server (CPE: cpe:2.3:a:argneshu:appium-mcp-server:*:*:*:*:*:*:*:*), a Python-based Model Context Protocol (MCP) server that exposes Appium mobile-testing capabilities as AI-callable tools. MCP servers bridge LLM agents to external functionality; the write_file and write_files_batch tools (src/tools/write_files_batch.py) are intended to write files within a designated PROJECT_ROOT directory. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the server neither normalizes nor validates caller-supplied path parameters before performing file writes. Because Python's open() resolves absolute paths and ../ sequences natively without restriction, paths such as /etc/crontab or ../../.bashrc succeed transparently, writing at any location the server process user can reach.
Know when Appium Mcp Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Local vector matches Appium MCP server deployment; no privileges needed to call write_file; no user interaction required for direct tool invocation; confidentiality unaffected.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
appium-mcp-server through 0.1.61 fails to validate or normalize file paths in the write_file and write_files_batch tools, allowing attackers to write files outside the intended PROJECT_ROOT 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-69288
GHSA-j4m2-645j-49qh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB