GHSA-hw8v-xxg5-vvvx: n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution
Summary
n8n, a workflow automation tool, had a security flaw where users could escape the expression sandbox (a restricted environment meant to safely run user code) by creating a class field named `__sanitize`, which let them access the Function constructor and run arbitrary code. This meant backend users could execute code in the n8n process, and in the editor preview, someone's expression could run as JavaScript in another person's browser session.
Solution / Mitigation
The issue has been fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability. If upgrading is not immediately possible, administrators should restrict n8n instance access to fully trusted users only, avoid granting workflow-create or workflow-edit permissions to untrusted users, audit existing workflows for unexpected or unfamiliar expressions in node parameters, and set `N8N_EXPRESSION_ENGINE=vm`. The source notes these workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Vulnerability Details
EPSS: 0.3%
Yes
September 10, 2026
Classification
Taxonomy References
Affected Vendors
Affected Packages
Related Issues
CVE-2026-63086: text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compat
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
Original source: https://github.com/advisories/GHSA-hw8v-xxg5-vvvx
First tracked: September 10, 2026 at 02:00 PM
Classified by LLM (prompt v3) · confidence: 75%