A vulnerability in the Python Code node allows authenticated users to break out of the Python sandbox environment and execute code outside the intended security boundary.
Only authenticated users are able to execute code through Task Runners.
This issue affected any deployment in which the following conditions were met:
N8N_RUNNERS_ENABLED=true (default: false)N8N_PYTHON_ENABLED=trueIn case the N8N_RUNNERS_MODE is set to external (default: internal) the sandbox escape is limited to the sidecar container with lower risk for lateral movement. In that case a lower high severity is more appropriate.
This vulnerability is fixed in version 2.4.8 and later.
If an immediate upgrade cannot be applied, the following hardening steps are recommended:
n8n-nodes-base.code to the NODES_EXCLUDE environment variable{
"nvd_published_at": "2026-02-04T17:16:23Z",
"github_reviewed_at": "2026-02-04T19:42:03Z",
"cwe_ids": [
"CWE-693"
],
"severity": "CRITICAL",
"github_reviewed": true
}