Skip to main content

n8n CVE-2026-54312

| EUVDEUVD-2026-38461 HIGH
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-06-16 https://github.com/n8n-io/n8n GHSA-x6p3-m6h9-fx7r
7.2
CVSS 4.0 · Vendor: https://github.com/n8n-io/n8n
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to n8n with workflow-edit role
  2. Delivery
    Create workflow using Microsoft SQL node
  3. Exploit
    Supply crafted table parameter targeting __proto__
  4. Install
    Execute workflow once
  5. C2
    Pollute Object.prototype process-wide
  6. Execute
    Validation fails across n8n
  7. Impact
    Instance unusable until restart

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account on the target n8n instance that holds permission to create or modify workflows (PR:L per the vendor CVSS 4.0 vector); no end-user interaction or social engineering is needed (UI:N, AT:N). The specific feature involved is the Microsoft SQL node 'n8n-nodes-base.microsoftSql' - instances that have disabled this node via NODES_EXCLUDE are not vulnerable through this path. The attacker must reach the n8n HTTP API/UI over the network (AV:N), but no special deployment mode beyond a default installation that has not been upgraded to 2.24.0 is required.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H) with base score 7.2 emphasizes high availability impact and low privileges, which aligns with a self-service DoS by any workflow author. There is no CISA KEV listing, no EPSS data supplied, and no public exploit identified at time of analysis, so this is not a mass-exploitation priority. Real risk is highest for multi-tenant or community n8n deployments where workflow-edit permissions are granted broadly - in those environments a single malicious or careless user can knock the whole instance offline until restart. For single-operator self-hosted deployments the practical risk is low because the attacker must already be a trusted workflow author. Confidentiality/integrity impacts are rated Low by the vendor, but the description does not describe any data exfiltration mechanism, so the dominant concrete impact is availability.

Exploit ScenarioDerived

A user holding workflow-edit rights on a shared n8n instance (for example, a SaaS-style internal deployment with multiple team members) creates a workflow containing a Microsoft SQL node, supplies a crafted 'table' parameter that walks into Object.prototype, and executes the workflow once. From that moment every subsequent object in the Node.js process inherits the polluted property, causing validation routines across n8n to fail and rendering the UI and API unusable until an administrator restarts the service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 23, 2026

Denial of service in n8n workflow automation platform (versions prior to 2.24.0) allows an authenticated user with workflow create/edit permissions to trigger global prototype pollution via a crafted table parameter in the Microsoft SQL node. The pollution of Object.prototype persists for the lifetime of the n8n process, causing application-wide validation failures until the server is restarted. No public exploit identified at time of analysis, though the vendor advisory provides clear technical detail.

Earlier versions of this analysis (2)
v2 Jun 23, 2026 - 17:14 cvss changed CVSS 7.2

Prototype pollution in n8n workflow automation platform (versions prior to 2.24.0) allows an authenticated user with workflow creation or modification permissions to pollute Object.prototype process-wide by supplying a crafted table parameter to the Microsoft SQL node. The pollution persists for the lifetime of the server process, triggering application-wide validation failures and rendering the instance non-functional until restarted. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV.

v1 Jun 17, 2026 - 00:09 CVSS 8.5

Denial of service in n8n workflow automation platform versions prior to 2.24.0 allows authenticated users with workflow creation/modification permissions to cause global prototype pollution via the Microsoft SQL node's table parameter. The pollution persists for the lifetime of the n8n server process, triggering application-wide validation failures that render the instance non-functional until a manual restart. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade n8n to version 2.24.0 or later, as published in GitHub Security Advisory GHSA-x6p3-m6h9-fx7r (https://github.com/n8n-io/n8n/security/advisories/GHSA-x6p3-m6h9-fx7r). If immediate upgrade is not possible, restrict workflow create and edit permissions to fully trusted users only - this materially reduces exposure but breaks self-service workflow authoring for untrusted tenants. As an additional mitigation, disable the Microsoft SQL node by adding 'n8n-nodes-base.microsoftSql' to the NODES_EXCLUDE environment variable, which removes the specific sink at the cost of losing MSSQL integration in any existing workflows. The vendor notes these workarounds do not fully remediate the issue and should be treated as short-term measures only.

Affected VersionsENISA

n8n < 2.24.0

Affected Packages

npm n8n fix: 2.24.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is a popular Node.js-based workflow automation platform (distributed as the npm package 'n8n'). The flaw is a CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution), a JavaScript-specific weakness where attacker-controlled keys are merged into objects without sanitizing __proto__, constructor, or prototype properties. In this case the Microsoft SQL node ('n8n-nodes-base.microsoftSql') processes the 'table' parameter in a way that walks into Object.prototype, so a single crafted workflow execution mutates the prototype for every object created by the process thereafter. Because Node.js is single-process and long-lived, the pollution survives until restart and corrupts validation logic globally.

Know when Prototype Pollution gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/n8n-io/n8n) PRIMARY 7.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable n8n API with authenticated workflow-edit role (PR:L), no user interaction, and DoS-only impact until restart yield A:H with C:N/I:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/n8n-io/n8n).

CVSS VectorVendor: https://github.com/n8n-io/n8n

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Jun 23, 2026 - 17:07 NVD
8.5 (HIGH) 7.2 (HIGH)
CVE Published
Jun 16, 2026 - 22:38 github-advisory
HIGH 8.5

DescriptionCVE.org

Impact

An authenticated user with permission to create or modify workflows could achieve global prototype pollution via the Microsoft SQL node by supplying a crafted value as the table parameter. This pollutes Object.prototype process-wide for the lifetime of the n8n server process, causing application-wide validation failures and rendering the n8n instance completely non-functional until restarted.

Patches

The issue has been fixed in n8n version 2.24.0. Users should upgrade to this version or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Limit workflow creation and editing permissions to fully trusted users only.
  • Disable the Microsoft SQL node by adding n8n-nodes-base.microsoftSql to the NODES_EXCLUDE environment variable.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Executive ViewAI

Why It Matters

n8n workflow automation platform (versions prior to 2.24.0) contains a denial-of-service vulnerability where authenticated users with workflow creation or editing permissions can crash the entire application until manual restart. Organizations depending on n8n for critical business automation face significant operational risk. A patch is available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular self-hosted workflow automation tool, common but not ubiquitous
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-34621 HIGH POC
8.6 Apr 11

Prototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu

CVE-2021-23450 CRITICAL POC
9.8 Dec 17

All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (

CVE-2024-56059 CRITICAL
9.8 Dec 18

Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau

CVE-2021-23383 CRITICAL POC
9.8 May 04

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co

CVE-2020-7788 CRITICAL POC
9.8 Dec 11

This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2020-28271 CRITICAL POC
9.8 Nov 12

Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service

CVE-2023-38894 CRITICAL POC
9.8 Aug 16

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi

CVE-2024-24292 CRITICAL POC
9.8 Mar 28

A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function

CVE-2023-26121 CRITICAL POC
10.0 Apr 11

All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s

CVE-2021-23449 CRITICAL POC
10.0 Oct 18

This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr

CVE-2024-39011 CRITICAL POC
9.8 Jul 30

Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser

CVE-2024-38988 CRITICAL POC
9.8 Mar 28

alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy