Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local attack vector and low-privilege requirement reflect that exploitation demands an existing authenticated shell session; no scope change as impacts stay within the vulnerable system.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in automateyournetwork MCPyATS up to 0.1.4. The affected element is the function processGenerateRequest of the file mcp_servers/mermaid/index.ts of the component generate_mermaid_markdown. The manipulation of the argument folder/name leads to path traversal. The attack must be carried out locally.
AnalysisAI
Path traversal in MCPyATS up to version 0.1.4 enables a local low-privileged attacker to escape the intended working directory by supplying crafted folder or name arguments to the processGenerateRequest function within the generate_mermaid_markdown MCP tool. The CVSS 4.0 vector (AV:L/PR:L/E:P) confirms local-only exploitation requiring low privileges, with a proof-of-concept publicly disclosed via VulDB. This CVE is not listed in CISA KEV, indicating no confirmed active exploitation in the wild at time of analysis.
Technical ContextAI
MCPyATS is an open-source Model Context Protocol (MCP) server built on Cisco's pyATS network automation framework, published by automateyournetwork on GitHub. The vulnerable component is the Mermaid diagram generation sub-server, implemented in TypeScript at mcp_servers/mermaid/index.ts. The processGenerateRequest function accepts user-controlled folder and name parameters and constructs filesystem paths without adequately sanitizing traversal sequences such as ../. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) identifies this root cause class: the application trusts caller-supplied path components and resolves them relative to an assumed safe base directory, allowing callers to reference files anywhere the process has OS-level read or write access.
RemediationAI
Monitor the vendor's GitHub repository at https://github.com/automateyournetwork/MCPyATS/ and the issue tracker entry at https://github.com/automateyournetwork/MCPyATS/issues/22 for a patched release beyond version 0.1.4; upgrade to that version once available. No vendor-released patch with an exact fix version was identified at time of analysis. As an interim compensating control, restrict OS-level access to the host running MCPyATS so that only fully trusted accounts can execute the process or invoke the generate_mermaid_markdown tool - this trades off operational convenience but eliminates untrusted-caller risk. Additionally, operators managing their own deployments can apply server-side input validation on the folder and name parameters in processGenerateRequest, rejecting any argument containing .. or absolute path characters before path resolution occurs; this is a targeted fix with no known functional side effects for legitimate use cases.
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-54907
GHSA-q9qj-38cq-3792