Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. GHSA-gv7g-jm28-cr3m

GHSA-gv7g-jm28-cr3m: n8n: Expression sandbox escape via arrow-function bodies enabling command execution

July 22, 2026 (updated July 27, 2026)

An authenticated user with permission to create or modify workflows could abuse crafted expressions using arrow functions to bypass the expression sandbox, triggering unintended system command execution on the host running n8n.

References

  • github.com/advisories/GHSA-gv7g-jm28-cr3m
  • github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f
  • github.com/n8n-io/n8n/releases/tag/n8n@2.31.5
  • github.com/n8n-io/n8n/releases/tag/n8n@2.32.1
  • github.com/n8n-io/n8n/security/advisories/GHSA-gv7g-jm28-cr3m

Code Behaviors & Features

Detect and mitigate GHSA-gv7g-jm28-cr3m 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 2.31.5, all versions starting from 2.32.0 before 2.32.1

Fixed versions

  • 2.31.5
  • 2.32.1

Solution

Upgrade to versions 2.31.5, 2.32.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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/GHSA-gv7g-jm28-cr3m.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:16:50 +0000.