CVE-2026-0863

Source
https://cve.org/CVERecord?id=CVE-2026-0863
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0863.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-0863
Published
2026-01-18T16:15:50.450Z
Modified
2026-03-14T12:47:21.958323Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 image) - arbitrary code execution occurs inside a Sidecar container and not the main node, which significantly reduces the vulnerability impact.

References

Affected packages

Git / github.com/n8n-io/n8n

Affected ranges

Type
GIT
Repo
https://github.com/n8n-io/n8n
Events
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.123.14"
        },
        {
            "introduced": "2.0.0"
        },
        {
            "last_affected": "2.3.5"
        },
        {
            "introduced": "2.4.0"
        },
        {
            "last_affected": "2.4.2"
        }
    ]
}

Affected versions

n8n@1.*
n8n@1.123.0
n8n@2.*
n8n@2.0.0
n8n@2.1.0
n8n@2.2.0
n8n@2.3.0
n8n@2.3.1
n8n@2.3.2
n8n@2.3.3
n8n@2.3.4
n8n@2.4.0
n8n@2.4.1
n8n@2.4.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0863.json"