Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-86076 — n8n-io n8n

High · CVSS 8.7EPSS 0.8% First seen September 08, 2026
JavaScriptWebVulnerabilities

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 __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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.7 CVSS 4.0 base score from the CNA (github.com)

An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
only in some setups or conditions
Login needed
yes, a normal user account
User action needed
no
Impact
high on confidentiality, integrity and availability
Impact on other systems
high on confidentiality, none on integrity and availability

Vector 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 · CVSS 3.1 8.8 from NVD: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness

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

Affected and fixed versions

ProductAffected versionsFixed in
n8n-io n8n>= 2.38.0, < 2.38.2, >= 2.0.0, < 2.37.7, < 1.123.76—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • n8n-io n8n

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-86076?

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. Weakness type: Improper Control of Generation of Code ('Code Injection') (CWE-94).

How severe is CVE-2026-86076?

CVE-2026-86076 has a CVSS 4.0 base score of 8.7 (high), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-86076 being exploited?

Not as far as is known: CVE-2026-86076 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.8% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-86076?

n8n-io n8n >= 2.38.0, < 2.38.2, >= 2.0.0, < 2.37.7, < 1.123.76.

How do I fix CVE-2026-86076?

Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.

Timeline & sources

References

Related vulnerabilities & news