| 标题 | AgiFlow @agiflowai/scaffold-mcp 1.0.27 Path Traversal |
|---|
| 描述 | An arbitrary file write vulnerability (CWE-22) has been identified in the write-to-file tool of @agiflowai/scaffold-mcp (version 1.0.27). The tool accepts a user-supplied file_path argument and writes attacker-controlled content to that path after resolving absolute paths as-is or relative paths against the current working directory, without enforcing any workspace or base-directory boundary. An attacker with access to the MCP interface can write or overwrite arbitrary files writable by the server process, potentially leading to integrity loss, configuration corruption, or further compromise. No fixed version is available at the time of reporting. |
|---|
| 来源 | ⚠️ https://github.com/AgiFlow/aicode-toolkit/issues/88 |
|---|
| 用户 | BruceJin (UID 96538) |
|---|
| 提交 | 2026-04-11 11時49分 (2 月前) |
|---|
| 管理 | 2026-04-27 19時17分 (16 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 359845 [AgiFlow scaffold-mcp 直到 1.0.27 write-to-file Tool index.ts file_path 目录遍历] |
|---|
| 积分 | 20 |
|---|