{"id":"CVE-2026-49444","aliases":["GHSA-9pq8-m8gp-4p53"],"url":"https://o3.security/vulnerability/CVE-2026-49444","summary":"n8n: Python sandbox escape","details":"## Impact\nAn authenticated user with permission to create or modify workflows containing a Python Code Node could escape the sandbox and achieve arbitrary code execution on the task runner container.\n\nThis issue only affects instances where the Python Task Runner is enabled.\n\n## Patches\nThe issue has been fixed in n8n versions 1.123.48, 2.21.8, and 2.22.4. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Limit workflow creation and editing permissions to fully trusted users only.\n- Disable the Python Code node by adding `n8n-nodes-base.code` to the `NODES_EXCLUDE` environment variable, or disable the Python Task Runner entirely.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","published":"2026-06-23T15:50:31.510Z","modified":"2026-08-12T03:51:11.563664612Z","cvss":null,"epss":{"score":0.00385,"percentile":0.31514,"asOf":"2026-09-01"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"n8n","fixedVersion":"1.123.48"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.22.4"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.21.8"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49444.json"},{"type":"ADVISORY","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-9pq8-m8gp-4p53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49444"},{"type":"PACKAGE","url":"https://github.com/n8n-io/n8n"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:11.563664612Z"}}