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

CVE-2026-42234: n8n has a Python Task Runner Sandbox Escape Vulnerability

April 29, 2026 (updated May 8, 2026)

An authenticated user with permission to create or modify workflows containing a Python Code Node could escape the sandbox and achieve arbitrary code execution on the task runner container.

  • This issue only affects instances where the Python Task Runner is enabled.

References

  • github.com/advisories/GHSA-44v6-jhgm-p3m4
  • github.com/n8n-io/n8n/security/advisories/GHSA-44v6-jhgm-p3m4
  • nvd.nist.gov/vuln/detail/CVE-2026-42234

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.123.32, all versions starting from 2.17.0 before 2.17.4, all versions starting from 2.18.0 before 2.18.1

Fixed versions

  • 1.123.32
  • 2.17.4
  • 2.18.1

Solution

Upgrade to versions 1.123.32, 2.17.4, 2.18.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/n8n/CVE-2026-42234.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:56 +0000.