Security mailing lists by PureSourceCode

CVE-2026-86076

HIGH 8.7CVSS 4.0

n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution

n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the expression compiler sanitizer resolved through dynamically scoped this and did not reject reserved class member names. A class field named __sanitize could rebind the sanitizer and reach the Function constructor, enabling backend code execution and editor-preview JavaScript execution. The affected AST hook is PrototypeSanitizer in packages/workflow/src/expression-sandboxing.ts. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.

Published
8 Sep 2026
Last modified
11 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-94
Also known as
GHSA-hw8v-xxg5-vvvx
Sources
NVDJSONOSV GHSA-hw8v-xxg5-vvvxJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.7 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD n8n n8n
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
< 1.123.76 1.123.76
NVD n8n n8n
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
>= 2.0.0, < 2.37.7 2.37.7
NVD n8n n8n
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
>= 2.38.0, < 2.38.2 2.38.2
OSV npm n8n < 1.123.76 1.123.76
OSV npm n8n >= 2.38.0, < 2.38.2 2.38.2
OSV npm n8n >= 2.0.0, < 2.37.7 2.37.7

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 8 Sep 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.