إرسال #854522: makafeli n8n-workflow-builder 0.11.0 Path Traversalالمعلومات

عنوانmakafeli n8n-workflow-builder 0.11.0 Path Traversal
الوصفA vulnerability was found in makafeli/n8n-workflow-builder 0.11.0. The issue affects the MCP tool update_node_from_file and the parameter filePath. The update_node_from_file tool accepts a caller-controlled local filesystem path and reads it with fs.readFileSync(filePath, 'utf-8') without enforcing a trusted workspace, configured project directory, or user-approved path boundary. The resulting file content is then assigned to workflow.nodes[nodeIndex].parameters[parameterName] and persisted into the target n8n workflow through the n8n API. An MCP client that can invoke this tool may cause the MCP server process to read arbitrary local text files accessible to the server user and store their contents inside an n8n workflow. The content can then be retrieved through the n8n workflow API or existing workflow read/export functionality. This may expose local configuration files, plaintext secrets, JSON credential files, source files containing embedded tokens, or other text-decodable files readable by the MCP server process. This is not claimed to be an unauthenticated remote vulnerability in n8n itself. The issue is in the n8n-workflow-builder MCP server, which exposes an unrestricted local file read primitive and persists the read content into n8n. Affected component: build/server.cjs Affected tool: update_node_from_file Affected parameter: filePath Affected package version: 0.11.0 CWE: CWE-22 / CWE-200 CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N Suggested severity: Medium Suggested remediation: canonicalize and validate filePath before reading. Resolve the requested path with realpath and enforce containment within an operator-configured trusted workspace or project root. Reject absolute paths, traversal attempts, and symlink escapes that resolve outside the trusted root. Consider requiring explicit user approval for file imports from outside the workspace.
المصدر⚠️ https://github.com/makafeli/n8n-workflow-builder/issues/28
المستخدم Mcfly_Zhang (UID 98877)
ارسال10/06/2026 02:06 AM (1 شهر منذ)
الاعتدال12/07/2026 01:35 PM (1 month later)
الحالةتمت الموافقة
إدخال VulDB377850 [makafeli n8n-workflow-builder حتى 0.11.0 update_node_from_file build/server.cjs filePath اجتياز الدليل]
النقاط20

Interested in the pricing of exploits?

See the underground prices here!