| عنوان | 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) |
|---|
| ارسال | 11/04/2026 11:49 AM (2 أشهر منذ) |
|---|
| الاعتدال | 27/04/2026 07:17 PM (16 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 359845 [AgiFlow scaffold-mcp حتى 1.0.27 write-to-file Tool index.ts file_path اجتياز الدليل] |
|---|
| النقاط | 20 |
|---|