Skip to main content

matlab-mcp-server EUVDEUVD-2026-26050

| CVE-2026-7272 MEDIUM
Path Traversal (CWE-22)
2026-04-28 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Network request to MCP server
  2. Delivery
    Craft scriptPath with traversal sequence
  3. Exploit
    Deliver to vulnerable function
  4. Execution
    Path validation bypassed
  5. Persist
    Access arbitrary file
  6. Impact
    Read or modify contents

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 vulnerability requires the matlab-mcp-server to be running and accessible over the network. No special configuration, authentication credentials, or user interaction is needed - the MCP interface processes remote scriptPath arguments directly from network requests without validation. Exploitation is possible against default configurations where the MCP server binds to a network interface and accepts external connections. The only limiting factor is that the attacker must have network access to the MCP server endpoint; if the server is isolated to localhost-only or protected by firewall rules, exploitation is prevented. Additionally, the impact of write operations is limited by the file system permissions of the matlab-mcp-server process - if it runs with restricted permissions, the attacker cannot write to sensitive system directories, though read operations via path traversal may still succeed.

Impact

The CVSS 4.0 vector indicates a network-accessible vulnerability (AV:N) with low complexity (AC:L) and no privileges or user interaction required (PR:N, UI:N), resulting in low confidentiality, integrity, and availability impact (VC:L, VI:L, VA:L) with no scope change. However, the exploitation probability flag (E:P) and confirmed public exploit availability elevate real-world risk despite the moderate CVSS score. The lack of authentication or interaction requirements makes exploitation trivial for any network-connected attacker. The primary concern is confidentiality and integrity - attackers can read sensitive files or write malicious content to arbitrary locations where the matlab-mcp-server process has write permissions. Availability impact is not scored because path traversal alone does not directly crash services, though write operations could corrupt critical files. The absence of vendor response and continued availability of the vulnerable code in production increases practical risk. This is a genuine priority for any organization running matlab-mcp-server in network-accessible environments, though the low impact metrics (L-rated across VC/VI/VA) suggest this is not a critical RCE vector.

Exploit ScenarioDerived

An attacker without authentication sends a crafted MCP request to a network-accessible matlab-mcp-server instance, specifying a scriptPath value such as '../../../../etc/passwd' or '../../sensitive_config.m'. The vulnerable generate_matlab_code or execute_matlab_code function constructs a file system path using this unsanitized input, allowing the attacker to read arbitrary files from the system (e.g., configuration files, credentials) or write malicious MATLAB scripts to locations where they will be executed by other processes.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Apr 28, 2026

Path traversal in WilliamCloudQi matlab-mcp-server allows remote unauthenticated attackers to manipulate the scriptPath argument in the generate_matlab_code and execute_matlab_code functions, enabling unauthorized file system access with confidentiality and integrity impact. The vulnerability affects versions up to commit ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca, has publicly available exploit code, and the vendor has not yet responded to early disclosure notification.

RemediationAI

Upgrade to a patched version once released by the WilliamCloudQi project; however, no vendor-released patch is currently available as the maintainer has not yet responded to disclosure. As an immediate mitigation, restrict network access to the matlab-mcp-server MCP interface using network-level controls such as firewall rules or VPC security groups to permit requests only from trusted MCP clients. Disable the generate_matlab_code and execute_matlab_code functions if they are not essential to your deployment, and implement input validation in the MCP layer to reject scriptPath arguments containing '..' sequences, absolute paths, or other traversal indicators. Additionally, run the matlab-mcp-server process with minimal file system permissions (e.g., chroot jail, containerization with read-only root filesystem, or process-level access controls) to limit the damage if path traversal exploitation occurs. Monitor the GitHub repository (https://github.com/WilliamCloudQi/matlab-mcp-server) and VulDB for patch updates. If the vendor remains unresponsive, consider forking the repository and applying a fix locally by sanitizing the scriptPath parameter with a whitelist of allowed directories or using safe path resolution APIs that prevent traversal.

Affected VersionsENISA

matlab-mcp-server ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The matlab-mcp-server is a Model Context Protocol (MCP) interface implemented in TypeScript (src/index.ts) that processes MATLAB script execution requests. The vulnerability exists in the path handling logic of the generate_matlab_code and execute_matlab_code functions, which fail to properly validate or sanitize the scriptPath parameter before using it in file system operations. This is a classic CWE-22 path traversal flaw where an attacker can use directory traversal sequences (e.g., '../', absolute paths, or symbolic links) to access files outside the intended script directory. The MCP interface accepts remote requests over the network without authentication, exposing this functionality directly to unauthenticated network access.

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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

5
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 28, 2026 - 14:22 NVD
HIGH MEDIUM
CVSS changed
Apr 28, 2026 - 14:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
CVE Published
Apr 28, 2026 - 13:00 nvd
MEDIUM 5.5

DescriptionCVE.org

A flaw has been found in WilliamCloudQi matlab-mcp-server up to ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca. The affected element is the function generate_matlab_code/execute_matlab_code of the file src/index.ts of the component MCP Interface. Executing a manipulation of the argument scriptPath can lead to path traversal. The attack can be executed remotely. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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