| タイトル | WilliamCloudQi matlab-mcp-server Commit ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca Path Traversal |
|---|
| 説明 | An arbitrary file write vulnerability (CWE-22) has been identified in matlab-mcp-server, specifically within src/index.ts. The generate_matlab_code and execute_matlab_code MCP tools accept a user-supplied scriptPath argument and use it directly as a filesystem write target without enforcing a safe base directory, rejecting absolute paths, or restricting parent-directory traversal. An attacker with network access to the MCP interface can write attacker-influenced content to arbitrary filesystem paths writable by the server process, potentially leading to integrity loss, configuration corruption, or further compromise. Commit ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca is confirmed affected, and no fixed version is available at the time of reporting. |
|---|
| ソース | ⚠️ https://github.com/WilliamCloudQi/matlab-mcp-server/issues/8 |
|---|
| ユーザー | BruceJin (UID 96538) |
|---|
| 送信 | 2026年04月11日 19:29 (2 月 ago) |
|---|
| モデレーション | 2026年04月28日 07:42 (17 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 359927 [WilliamCloudQi matlab-mcp-server 迄 ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca MCP Interface src/index.ts generate_matlab_code/execute_matlab_code scriptPath ディレクトリトラバーサル] |
|---|
| ポイント | 20 |
|---|