CVE-2026-25115: CWE-693: Protection Mechanism Failure in n8n-io n8n
CVE-2026-25115 is a critical vulnerability in the n8n workflow automation platform versions prior to 2. 4. 8. It allows authenticated users to escape the Python sandbox in the Python Code node, enabling execution of arbitrary code outside the intended security boundary. This flaw stems from a protection mechanism failure (CWE-693) and does not require user interaction or elevated privileges beyond authentication. The vulnerability has a CVSS 4. 0 base score of 9. 4, indicating high exploitability and severe impact on confidentiality, integrity, and availability. Although no known exploits are currently reported in the wild, exploitation could lead to full system compromise. European organizations using affected versions of n8n are at risk, especially those relying on automation workflows for critical business processes.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-25115 affects n8n, an open-source workflow automation platform widely used for integrating various services and automating business processes. The issue resides in the Python Code node, which allows users to execute Python scripts within a sandboxed environment intended to restrict code execution to safe operations. Prior to version 2.4.8, authenticated users could bypass these sandbox restrictions due to a protection mechanism failure classified under CWE-693. This failure enables the execution of arbitrary code outside the sandbox, potentially allowing attackers to perform unauthorized actions such as accessing sensitive data, modifying workflows, or compromising the host system. The vulnerability requires only authenticated access, no user interaction, and has a network attack vector, making it highly exploitable in environments where user accounts are not tightly controlled. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) reflects the critical nature of this flaw, highlighting its impact on confidentiality, integrity, and availability, as well as the ease of exploitation and scope of affected components. Although no public exploits have been reported, the potential for damage is significant, especially in enterprise environments relying on n8n for critical automation tasks. The issue was patched in version 2.4.8, which strengthens sandbox enforcement and closes the escape vector.
Potential Impact
For European organizations, the impact of this vulnerability can be severe. Exploitation could lead to unauthorized code execution on servers running n8n, resulting in data breaches, workflow manipulation, and potential lateral movement within corporate networks. Organizations that use n8n to automate sensitive or critical processes—such as financial transactions, personal data processing, or operational controls—face risks to confidentiality, integrity, and availability. The vulnerability could be leveraged to disrupt business continuity, steal intellectual property, or deploy ransomware and other malware. Given the critical CVSS score and the network-based attack vector, attackers could exploit this flaw remotely once authenticated, increasing the risk in environments with weak access controls or compromised credentials. The absence of required user interaction further elevates the threat, as exploitation can be automated or scripted. European entities with regulatory obligations under GDPR must also consider the compliance implications of potential data breaches stemming from this vulnerability.
Mitigation Recommendations
To mitigate this vulnerability, European organizations should immediately upgrade all n8n instances to version 2.4.8 or later, where the sandbox escape issue has been resolved. Additionally, organizations should implement strict access controls to limit the number of users with permissions to execute Python Code nodes, ideally restricting this capability to trusted administrators. Employ multi-factor authentication (MFA) to reduce the risk of credential compromise. Regularly audit user accounts and permissions within n8n to detect and remove unnecessary privileges. Network segmentation should be applied to isolate n8n servers from critical infrastructure and sensitive data stores. Monitoring and logging of n8n activity should be enhanced to detect anomalous code execution or workflow changes. Finally, organizations should review and update incident response plans to include scenarios involving automation platform compromise.
Affected Countries
Germany, France, Netherlands, United Kingdom, Sweden, Belgium
CVE-2026-25115: CWE-693: Protection Mechanism Failure in n8n-io n8n
Description
CVE-2026-25115 is a critical vulnerability in the n8n workflow automation platform versions prior to 2. 4. 8. It allows authenticated users to escape the Python sandbox in the Python Code node, enabling execution of arbitrary code outside the intended security boundary. This flaw stems from a protection mechanism failure (CWE-693) and does not require user interaction or elevated privileges beyond authentication. The vulnerability has a CVSS 4. 0 base score of 9. 4, indicating high exploitability and severe impact on confidentiality, integrity, and availability. Although no known exploits are currently reported in the wild, exploitation could lead to full system compromise. European organizations using affected versions of n8n are at risk, especially those relying on automation workflows for critical business processes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-25115 affects n8n, an open-source workflow automation platform widely used for integrating various services and automating business processes. The issue resides in the Python Code node, which allows users to execute Python scripts within a sandboxed environment intended to restrict code execution to safe operations. Prior to version 2.4.8, authenticated users could bypass these sandbox restrictions due to a protection mechanism failure classified under CWE-693. This failure enables the execution of arbitrary code outside the sandbox, potentially allowing attackers to perform unauthorized actions such as accessing sensitive data, modifying workflows, or compromising the host system. The vulnerability requires only authenticated access, no user interaction, and has a network attack vector, making it highly exploitable in environments where user accounts are not tightly controlled. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) reflects the critical nature of this flaw, highlighting its impact on confidentiality, integrity, and availability, as well as the ease of exploitation and scope of affected components. Although no public exploits have been reported, the potential for damage is significant, especially in enterprise environments relying on n8n for critical automation tasks. The issue was patched in version 2.4.8, which strengthens sandbox enforcement and closes the escape vector.
Potential Impact
For European organizations, the impact of this vulnerability can be severe. Exploitation could lead to unauthorized code execution on servers running n8n, resulting in data breaches, workflow manipulation, and potential lateral movement within corporate networks. Organizations that use n8n to automate sensitive or critical processes—such as financial transactions, personal data processing, or operational controls—face risks to confidentiality, integrity, and availability. The vulnerability could be leveraged to disrupt business continuity, steal intellectual property, or deploy ransomware and other malware. Given the critical CVSS score and the network-based attack vector, attackers could exploit this flaw remotely once authenticated, increasing the risk in environments with weak access controls or compromised credentials. The absence of required user interaction further elevates the threat, as exploitation can be automated or scripted. European entities with regulatory obligations under GDPR must also consider the compliance implications of potential data breaches stemming from this vulnerability.
Mitigation Recommendations
To mitigate this vulnerability, European organizations should immediately upgrade all n8n instances to version 2.4.8 or later, where the sandbox escape issue has been resolved. Additionally, organizations should implement strict access controls to limit the number of users with permissions to execute Python Code nodes, ideally restricting this capability to trusted administrators. Employ multi-factor authentication (MFA) to reduce the risk of credential compromise. Regularly audit user accounts and permissions within n8n to detect and remove unnecessary privileges. Network segmentation should be applied to isolate n8n servers from critical infrastructure and sensitive data stores. Monitoring and logging of n8n activity should be enhanced to detect anomalous code execution or workflow changes. Finally, organizations should review and update incident response plans to include scenarios involving automation platform compromise.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-29T14:03:42.539Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69837ea2f9fa50a62f9d1925
Added to database: 2/4/2026, 5:15:14 PM
Last enriched: 2/12/2026, 7:42:15 AM
Last updated: 3/23/2026, 8:09:38 AM
Views: 156
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.