CVE-2025-68668 n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node
n8n Pyodide 기반 Python 코드 노드에서 임의 명령 실행에 취약
설명
n8n is an open source workflow automation platform. From version 1.0.0 to before 2.0.0, a sandbox bypass vulnerability exists in the Python Code Node that uses Pyodide. An authenticated user with permission to create or modify workflows can exploit this vulnerability to execute arbitrary commands on the host system running n8n, using the same privileges as the n8n process. This issue has been patched in version 2.0.0. Workarounds for this issue involve disabling the Code Node by setting the environment variable NODES_EXCLUDE: "[\"n8n-nodes-base.code\"]", disabling Python support in the Code node by setting the environment variable N8N_PYTHON_ENABLED=false, which was introduced in n8n version 1.104.0, and configuring n8n to use the task runner based Python sandbox via the N8N_RUNNERS_ENABLED and N8N_NATIVE_PYTHON_RUNNER environment variables.
n8n은 오픈소스 워크플로우 자동화 플랫폼입니다. 버전 1.0.0부터 2.0.0 이전까지, Pyodide를 사용하는 Python Code Node에는 샌드박스 바이패스 취약점이 존재합니다. 워크플로를 만들거나 수정할 수 있는 권한을 가진 인증된 사용자는 n8n 프로세스와 동일한 권한을 사용하여 n8n을 실행하는 호스트 시스템에서 임의의 명령을 실행하기 위해 이 취약성을 악용할 수 있습니다. 이 문제는 버전 2.0.0에서 패치되었습니다. Workarounds for this issue involve disabling the Code Node by setting the environment variable NODES_EXCLUDE: "[\"n8n-nodes-base.code\"]", disabling Python support in the Code node by setting the environment variable N8N_PYTHON_ENABLED=false, which was introduced in n8n version 1.104.0, and configuring n8n to use the task runner based Python sandbox via the N8N_RUNNERS_ENABLED and N8N_NATIVE_PYTHON_RUNNER environment variables.
영향 받는 제품 제품 1개
-
해결 버전 있음
n8n-io
n8n
영향 받는 버전
- 1.0.0 이상 2.0.0 미만
해결 버전
- 2.0.0 이상