Skip to main content

MCPyATS EUVDEUVD-2026-54907

| CVE-2026-19338 LOW
Path Traversal (CWE-22)
2026-08-09 VulDB GHSA-q9qj-38cq-3792
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege local shell access
  2. Delivery
    Invoke generate_mermaid_markdown tool via MCP client
  3. Exploit
    Supply path traversal sequences in folder/name argument
  4. Execution
    processGenerateRequest resolves unsanitized path
  5. Impact
    Read or write files outside intended base directory

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

Exploitation requires a local, authenticated session on the host running MCPyATS with at least low operating-system privileges (PR:L per CVSS 4.0 vector). The Mermaid MCP server sub-component (mcp_servers/mermaid/index.ts) must be running and the attacker must be able to invoke the generate_mermaid_markdown tool - either directly via the MCP protocol or through a client that proxies tool calls. Remote exploitation is not possible; the attack vector is explicitly local (AV:L). Exploitation is bounded to MCPyATS versions 0.1.4 and below; hosts not running the Mermaid sub-server are not exposed. The low integrity and confidentiality impacts (VI:L/VC:L) indicate that the attacker's file system access is constrained by the OS permissions of the MCPyATS process user, not root-equivalent.

Impact

The CVSS 4.0 score of 4.8 with vector AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N accurately reflects a locally constrained, low-complexity flaw with limited per-dimension impact. The supplemental E:P metric confirms that proof-of-concept code exists, lowering the skill bar for exploitation. No EPSS data was included in the provided intelligence, and the absence of a CISA KEV listing means no confirmed widespread active exploitation has been observed. The local attack vector is the most important limiting factor: an attacker must already have an authenticated low-privilege session on the host running MCPyATS, making this a post-compromise or insider-threat scenario rather than an internet-facing risk. Even a mid-sized municipal IT team in opole running MCPyATS as part of a network automation pipeline should treat this as a medium-priority scheduled patch rather than an emergency response, given the local-only vector and uniformly low C/I/A impact ratings. The primary real-world concern is privilege escalation via file read (e.g., secrets or credentials stored on the host) or integrity compromise via unauthorized file writes.

Exploit ScenarioDerived

A local attacker with a low-privilege account on the MCPyATS host invokes the generate_mermaid_markdown MCP tool and supplies a crafted folder or name value such as ../../etc/passwd or ../../root/.ssh/id_rsa. The processGenerateRequest function resolves the traversal sequence without sanitization, allowing the attacker to read sensitive files outside the intended directory or write attacker-controlled content to arbitrary writable paths. A proof-of-concept has been publicly disclosed via VulDB (https://vuldb.com/vuln/387174), reducing the exploitation skill requirement.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 09, 2026

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.

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.

Affected VersionsENISA

MCPyATS 0.1.2
MCPyATS 0.1.4
MCPyATS 0.1.0
MCPyATS 0.1.3
MCPyATS 0.1.1

Affected Packages

euvd mcpyats no fix

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

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.

Know when Mcpyats 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

Vendor (VulDB) PRIMARY 1.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Aug 09, 2026 - 07:22 NVD
MEDIUM LOW
CVSS changed
Aug 09, 2026 - 07:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

DescriptionCVE.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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
niche open-source network automation tool, small community footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy