CVE Explorer
CVE-2026-0863
Using string formatting and exception handling, an attacker may bypass n8n's python-task-executor sandbox restrictions and run arbitrary unrestricted Python code in the underlying operating system.
The vulnerability can be exploited via the Code block by an authenticated user with basic permissions and can lead to a full n8n instance takeover on instances operating under "Internal" execution mode.
If the instance is operating under the "External" execution mode (ex. n8n's official Docker imag
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://www.npmjs.com","packageName":"n8n","versions":[{"lessThan":"2.4.2","status":"affected","version":"2.4.0","versionType":"semver"},{"lessThan":"1.123.14","status":"affected","version":"0","versionType":"semver"},{"lessThan":"2.3.5","status":"affected","version":"2.0.0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c43e4dff37456868b0bfc74bc8687fbf928e0ed407afd507bea2cbae361f469c · sha256:b3e97faf07ff1824… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c43e4dff37456868b0bfc74bc8687fbf928e0ed407afd507bea2cbae361f469c · sha256:b3e97faf07ff1824… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-95","description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c43e4dff37456868b0bfc74bc8687fbf928e0ed407afd507bea2cbae361f469c · sha256:b3e97faf07ff1824… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"tags":["patch"],"url":"https://github.com/n8n-io/n8n/commit/b73a4283cb14e0f27ce19692326f362c7bf3da02"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c43e4dff37456868b0bfc74bc8687fbf928e0ed407afd507bea2cbae361f469c · sha256:b3e97faf07ff1824… · /containers/cna/references/1
{"tags":["third-party-advisory"],"url":"https://research.jfrog.com/vulnerabilities/n8n-python-runner-sandbox-escape-jfsa-2026-001651077/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c43e4dff37456868b0bfc74bc8687fbf928e0ed407afd507bea2cbae361f469c · sha256:b3e97faf07ff1824… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://research.jfrog.com/vulnerabilities/n8n-python-runner-sandbox-escape-jfsa-2026-001651077/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c43e4dff37456868b0bfc74bc8687fbf928e0ed407afd507bea2cbae361f469c · sha256:b3e97faf07ff1824… · /containers/adp/0/references/0
{"url":"https://www.smartkeyss.com/post/cve-2026-0863-python-sandbox-escape-in-n8n-via-exception-formatting-and-implicit-code-execution"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c43e4dff37456868b0bfc74bc8687fbf928e0ed407afd507bea2cbae361f469c · sha256:b3e97faf07ff1824… · /containers/adp/1/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.