Skip to main content
Report · SecurityWeekAbout CVE-2026-25049Published

Critical N8n Sandbox Escape Could Lead to Server Compromise

Source SecurityWeek

0
Authoritative record:CVE-2026-25049· Critical 9.4

Not known to be exploited · CVSS 9.4 Critical : upgrade to 2.5.2 or 1.123.17 as a priority.

Data as of 5 Feb 2026, 11:29 UTC

CVSS base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.5.2, 1.123.17

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade n8n and n8n-io/n8n to 2.5.2 or 1.123.17.

Affected software

ProductAffectedFixed in
n8n-ion8nAffected
  • <1.123.17
  • <2.5.2
Fixed in
  • 2.5.2
  • 1.123.17
GitHubn8n-io/n8npkg:github/n8n-io/n8nOther threatsAffected
  • <1.123.17
  • <2.5.2
Fixed in
  • 1.123.17
  • 2.5.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate this vulnerability, organizations should immediately review their use of the n8n platform and restrict access to n8n servers to trusted networks and users only. Network segmentation and firewall rules should be implemented to limit exposure. Monitoring and logging of n8n server activity should be enhanced to detect unusual or unauthorized command execution attempts. In the absence of patches, consider disabling or limiting the use of custom JavaScript expressions within workflows or replacing them with safer alternatives. Conduct thorough code reviews of workflows to identify potentially dangerous scripts. Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) tools to detect and block exploitation attempts. Finally, maintain regular backups of critical data and workflows to enable recovery in case of compromise.

Description

A critical sandbox escape vulnerability (CVE-2026-25049) in the n8n AI workflow automation platform allows attackers to bypass the sandbox's JavaScript sanitization and execute arbitrary commands on the server. This flaw arises from improper evaluation of JavaScript expressions within the sandbox, enabling potential full server compromise. Although no known exploits are currently reported in the wild, the high severity and ease of exploitation make this a significant threat. European organizations using n8n for automation workflows face risks of data breaches, service disruption, and unauthorized access. Immediate patching and sandbox hardening are essential to mitigate this vulnerability. Countries with high adoption of automation tools and strong digital infrastructure, such as Germany, France, and the UK, are particularly at risk. Defenders should prioritize restricting n8n server access, monitoring unusual activity, and applying vendor updates once available. Given the critical impact on confidentiality, integrity, and availability without requiring user interaction, this vulnerability is assessed as critical severity.

References

Community reviews

Loading reviews…