CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2026 · N8n

CVE-2026-0863
N8n vulnerability

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.

Affected products

N8n. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether N8n runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in N8n products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.