CVE-2026-25115CWE-693

n8n is vulnerable to Python sandbox escape

Critical · published February 4, 2026

CVSS v4.0
9.4
EPSS
1%
Percentile
47.3
In the wild
Unconfirmed
What it is

🚨 An authenticated user can escape the Python sandbox, making this vulnerability a major headache! 🔥 Think of it like a magician who’s supposed to only perform tricks on stage but finds a way to access the backstage area and pull off even more dangerous illusions. Once they’re out of bounds, the consequences can be quite severe! An attacker could execute arbitrary code outside the intended environment, potentially compromising the entire system. This could lead to unauthorized access, data manipulation, or even a complete takeover of the automation server. It's absolutely devastating!

Put simply

Think of it like a magician who’s supposed to only perform tricks on stage but finds a way to access the backstage area and pull off even more dangerous illusions. Once they’re out of bounds, the consequences can be quite severe! The flaw exists in the Python Code node of n8n prior to version 2.4.8, allowing authenticated users to break out of the sandbox environment and execute code freely, bypassing security restrictions.

What to do

An attacker could execute arbitrary code outside the intended environment, potentially compromising the entire system. This could lead to unauthorized access, data manipulation, or even a complete takeover of the automation server. It's absolutely devastating! Upgrade to n8n version 2.4.8 or later immediately to close this security gap. Ensure that your workflow automation processes are restricted to trusted users only to minimize risks. Regularly review user permissions and access controls! You've got this! With just a quick update, you'll reinforce your defenses in no time. 🛡️

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS
0.00585 · 47.3th percentile
Weakness
CWE-693 · Protection Mechanism Failure
Published
2026-02-04T16:48Z
EPSS history
Timeline
  • 04 FEB 16:48Z
    n8n is vulnerable to Python sandbox escape
    cvelistv5