n8n recently introduced a task runner-based native Python option to improve security isolation. This feature first appeared in version 1.111.0 as an optional setting and could be turned on using the environment variables N8N_RUNNERS_ENABLED and N8N_NATIVE_PYTHON_RUNNER. With the release of version 2.0.0, that same Python execution method is now enabled by default.
Recommended workarounds
As temporary mitigations, n8n recommends the following steps:

- Disable the Code node بالكامل by setting:
NODES_EXCLUDE: "[\"n8n-nodes-base.code\"]" - Turn off Python inside the Code node by setting:
N8N_PYTHON_ENABLED=false - Force the task runner-based Python sandbox by enabling:
N8N_RUNNERS_ENABLEDandN8N_NATIVE_PYTHON_RUNNER
