Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-0863: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

0
High
VulnerabilityCVE-2026-0863cvecve-2026-0863cwe-95
Published: Sun Jan 18 2026 (01/18/2026, 15:37:07 UTC)
Source: CVE Database V5

Description

CVE-2026-0863 is a high-severity vulnerability in n8n's python-task-executor allowing authenticated users with basic permissions to bypass sandbox restrictions and execute arbitrary Python code. Exploitation can lead to full instance takeover when running in "Internal" execution mode. In "External" execution mode, code execution is confined to a Sidecar container, reducing impact. The vulnerability stems from improper neutralization of directives in dynamically evaluated code (Eval Injection). It affects versions 2. 0. 0, 2. 4. 0, and possibly others. No known exploits are currently reported in the wild.

AI-Powered Analysis

AILast updated: 01/18/2026, 15:56:08 UTC

Technical Analysis

CVE-2026-0863 is a critical security vulnerability classified under CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code, also known as Eval Injection) affecting the n8n workflow automation tool's python-task-executor component. The vulnerability arises due to insufficient sanitization and control over string formatting and exception handling within the python-task-executor sandbox, allowing an attacker to bypass sandbox restrictions. An authenticated user with basic permissions can exploit this flaw via the Code block feature to execute arbitrary, unrestricted Python code on the underlying operating system. This leads to a full compromise of the n8n instance when operating in "Internal" execution mode, where the python-task-executor runs directly on the host system. Conversely, if the instance is configured in "External" execution mode, such as when deployed using n8n's official Docker image, the arbitrary code execution is limited to a Sidecar container isolated from the main node, significantly mitigating the risk. The vulnerability affects multiple versions including 2.0.0 and 2.4.0. The CVSS v3.1 score of 8.5 indicates a high severity level, with network attack vector, high privileges required, no user interaction needed, and a scope change impacting confidentiality, integrity, and availability. No public exploits have been reported yet, but the potential impact is severe given the ability to execute arbitrary code and take over the entire automation platform. This vulnerability highlights the risks of dynamic code evaluation without proper input validation and sandboxing in automation tools that integrate deeply with enterprise workflows.

Potential Impact

For European organizations, the impact of CVE-2026-0863 can be substantial, especially for those relying on n8n for critical business process automation, data integration, and workflow orchestration. A successful exploit could lead to full compromise of the n8n instance, enabling attackers to execute arbitrary commands on the host system, potentially leading to data theft, disruption of automated workflows, lateral movement within the network, and deployment of further malware or ransomware. Organizations operating n8n in "Internal" execution mode face the highest risk, as the attacker gains direct access to the host OS. Even in "External" mode, the compromise of the Sidecar container could allow attackers to pivot or extract sensitive information depending on container isolation and network configurations. This vulnerability threatens confidentiality, integrity, and availability of automation systems and connected resources. Given the increasing adoption of automation platforms in European enterprises, especially in sectors like finance, manufacturing, and public services, the threat could disrupt critical operations and cause regulatory compliance issues under GDPR and other data protection laws.

Mitigation Recommendations

To mitigate CVE-2026-0863, European organizations should: 1) Immediately upgrade n8n to a patched version once available from the vendor or apply any official security patches addressing this vulnerability. 2) If patching is not immediately possible, switch the execution mode from "Internal" to "External" to confine code execution within isolated Sidecar containers, thereby reducing risk. 3) Restrict access to the n8n instance by enforcing strong authentication and limiting user permissions, especially for the Code block feature, to trusted administrators only. 4) Implement network segmentation and container isolation best practices to minimize lateral movement if compromise occurs. 5) Monitor logs and behavior of n8n workflows for unusual activity indicative of exploitation attempts. 6) Conduct security reviews of automation workflows to identify and remove unnecessary or risky code execution capabilities. 7) Educate users about the risks of executing arbitrary code within automation tools and enforce strict change management policies. These steps go beyond generic advice by focusing on execution mode configuration, permission management, and operational monitoring tailored to this vulnerability's characteristics.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
JFROG
Date Reserved
2026-01-12T15:16:43.100Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 696cff39d302b072d9dc4a0d

Added to database: 1/18/2026, 3:41:45 PM

Last enriched: 1/18/2026, 3:56:08 PM

Last updated: 1/18/2026, 5:15:10 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats