---
id: CVE-2026-86076
title: n8n is an open source workflow automation platform
summary: >-
  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 __s…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: n8n
product: n8n
affected:
  - n8n < 1.123.76
  - 'n8n >= 2.0.0, < 2.37.7'
  - 'n8n >= 2.38.0, < 2.38.2'
patched:
  - n8n 2.38.2
published: '2026-09-08'
updated: '2026-09-11'
sourceUpdated: '2026-09-11T18:20:56.680'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86076'
references:
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-hw8v-xxg5-vvvx'
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86076'
  - url: 'https://github.com/advisories/GHSA-hw8v-xxg5-vvvx'
tags:
  - nvd
  - cve.org
  - ghsa
  - npm
epss: 0.00793
epssPercentile: 0.54491
aliases:
  - GHSA-hw8v-xxg5-vvvx
ecosystem: npm
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-09T15:33:46.809003Z'
scores:
  nvd: 8.8
  cna: 8.7
ingestedAt: '2026-09-08T22:12:31.038Z'
---

## Overview

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.

## Affected

- `n8n < 1.123.76`
- `n8n >= 2.0.0, < 2.37.7`
- `n8n >= 2.38.0, < 2.38.2`

## Remediation

Upgrade past the affected range:

- `n8n 2.38.2`

## Package advisory (CVE-2026-86076)

Affected packages:

- `n8n < 1.123.76`
- `n8n >= 2.38.0, < 2.38.2`
- `n8n >= 2.0.0, < 2.37.7`

Patched in:

- `n8n 1.123.76`
- `n8n 2.38.2`
- `n8n 2.37.7`

Source: https://github.com/advisories/GHSA-hw8v-xxg5-vvvx
