Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-27495

CVE-2026-27495: n8n has a Sandbox Escape in its JavaScript Task Runner

February 25, 2026 (updated February 27, 2026)

An authenticated user with permission to create or modify workflows could exploit a vulnerability in the JavaScript Task Runner sandbox to execute arbitrary code outside the sandbox boundary.

On instances using internal Task Runners (default runner mode), this could result in full compromise of the n8n host. On instances using external Task Runners, the attacker might gain access to or impact other task executed on the Task Runner.

  • Task Runners must be enabled using N8N_RUNNERS_ENABLED=true.

References

  • docs.n8n.io/hosting/configuration/task-runners
  • github.com/advisories/GHSA-jjpj-p2wh-qf23
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/releases/tag/n8n@1.123.22
  • github.com/n8n-io/n8n/releases/tag/n8n@2.10.1
  • github.com/n8n-io/n8n/releases/tag/n8n@2.9.3
  • github.com/n8n-io/n8n/security/advisories/GHSA-jjpj-p2wh-qf23
  • nvd.nist.gov/vuln/detail/CVE-2026-27495

Code Behaviors & Features

Detect and mitigate CVE-2026-27495 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.123.22, all versions starting from 2.0.0 before 2.9.3, all versions starting from 2.10.0 before 2.10.1

Fixed versions

  • 1.123.22
  • 2.9.3
  • 2.10.1

Solution

Upgrade to versions 1.123.22, 2.10.1, 2.9.3 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/n8n/CVE-2026-27495.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:04 +0000.