Skip to main content

n8n EUVDEUVD-2026-27102

| CVE-2026-42231 CRITICAL
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-04-29 https://github.com/n8n-io/n8n GHSA-q5f4-99jv-pgg5
9.4
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
  2. Delivery
    Create workflow with XML webhook
  3. Exploit
    Send polluted XML payload
  4. Install
    Trigger prototype pollution in xml2js
  5. C2
    Add Git node with SSH operations
  6. Execute
    Execute workflow
  7. Impact
    Polluted prototype affects Git SSH config
  8. Step 8
    Arbitrary code execution on host

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 user account with permissions to create or modify workflows in n8n, which typically means a user with editor or administrator role rather than read-only access. The attacker must send crafted XML payloads to a webhook endpoint within their workflow and chain the prototype pollution with a Git node that performs SSH operations. The vulnerability is not exploitable against default n8n instances by unauthenticated remote attackers despite the CVSS vector indicating PR:N. Exploitation is LIMITED by the requirement for authenticated workflow editing access, knowledge of the xml2js parsing behavior and n8n's Git node implementation, and the presence of Git node functionality in the attacker-controlled workflow. Multi-tenant n8n deployments where untrusted users have workflow editing permissions face the highest risk. Self-hosted instances with workflow editing restricted to internal administrators have significantly reduced attack surface.

Impact

CRITICAL DISCREPANCY DETECTED - The CVSS vector indicates AV:N/AC:L/PR:N/UI:N (unauthenticated remote exploitation) yielding a 10.0 score, but the vendor advisory explicitly states 'authenticated user with permission to create or modify workflows could exploit this.' This suggests the CVSS vector is incorrect and should likely be PR:L (low privilege required) or PR:H (high privilege required for workflow editing), which would reduce the base score to 9.1-9.9 depending on scope. The real-world risk depends heavily on n8n deployment models: SaaS instances with untrusted users face higher risk than self-hosted instances with restricted access. No CISA KEV listing indicates no confirmed widespread exploitation. No EPSS score provided, but the requirement for authenticated workflow editing access significantly limits attack surface compared to the CVSS 10.0 baseline assumption. The exploitation chain (prototype pollution → Git node command injection) requires technical sophistication and knowledge of n8n internals, reducing likelihood of automated exploitation. Organizations should prioritize patching based on whether untrusted users have workflow editing permissions, not solely on the inflated CVSS 10.0 score. The vendor-provided temporary mitigation (restrict workflow editing to trusted users) effectively neutralizes the attack vector.

Exploit ScenarioDerived

An attacker with authenticated access and workflow editing permissions creates a new workflow containing a webhook trigger configured to accept XML input. They send a crafted XML payload with malicious properties designed to pollute Object.prototype with SSH-related configuration values. Next, they add a Git node to the workflow configured to perform SSH operations (such as git clone from a remote repository). When the Git node executes, it inherits the polluted prototype properties, allowing the attacker to inject arbitrary commands into the SSH operation parameters, achieving remote code execution with the privileges of the n8n process on the host server.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 29, 2026

Prototype pollution in n8n's XML webhook parser (xml2js library) enables remote code execution when chained with Git node SSH operations. Authenticated users with workflow editing permissions can inject malicious XML payloads to pollute JavaScript object prototypes, then leverage the polluted prototype in Git node operations to execute arbitrary code on the n8n host server. GitHub advisory GHSA-q5f4-99jv-pgg5 confirms patches available in versions 1.123.32, 2.17.4, and 2.18.1. No CISA KEV listing or public POC identified at time of analysis, but the CVSS 10.0 score appears inconsistent with the authenticated (PR:L expected) nature described in the advisory.

RemediationAI

Upgrade n8n to version 1.123.32 (for 1.x deployments), 2.17.4 (for 2.17.x deployments), or 2.18.1 (for 2.18.x deployments) as specified in the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-q5f4-99jv-pgg5. For npm-based installations, run npm update n8n and restart the n8n service. Docker users should pull the latest patched image tags. If immediate patching is not feasible, implement the vendor-recommended temporary mitigation by restricting workflow creation and editing permissions exclusively to fully trusted administrators through n8n's role-based access control settings. Note this workaround has trade-offs: it reduces operational flexibility and does not protect against malicious or compromised trusted users. Review existing workflows for suspicious Git node configurations as a precautionary measure. Organizations using n8n Cloud should verify automatic patching status with the vendor. The vendor explicitly states the workaround does not fully remediate risk and should only be used short-term.

Affected VersionsENISA

n8n 2.17.0, < 2.17.4
n8n 2.18.0, < 2.18.1
n8n < 1.123.32

Affected Packages

npm n8n fix: 1.123.32, 2.17.4, 2.18.1

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

This vulnerability exploits a prototype pollution flaw in the xml2js library, a popular Node.js XML-to-JavaScript object parser used by n8n to process XML payloads in webhook requests. Prototype pollution (CWE-1321) occurs when an attacker can inject properties into JavaScript's Object.prototype, affecting all objects in the application. The vulnerability chains this pollution with n8n's Git node, which performs SSH operations. By polluting prototypes with SSH-related properties, an attacker can influence the Git node's command construction or configuration, ultimately achieving arbitrary command execution. The affected package is the n8n npm package across multiple version branches: all versions before 1.123.32, versions 2.17.0-2.17.3, and version 2.18.0. n8n is a workflow automation platform that executes user-defined workflows containing various integration nodes.

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 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (https://github.com/n8n-io/n8n) · only source for this CVE.

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
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

3
Patch available
May 04, 2026 - 20:01 EUVD
CVSS changed
May 04, 2026 - 19:22 NVD
10.0 (CRITICAL) 9.4 (CRITICAL)
CVE Published
Apr 29, 2026 - 21:25 nvd
CRITICAL 10.0

DescriptionCVE.org

Impact

A flaw in the xml2js library used to parse XML request bodies in n8n's webhook handler allowed prototype pollution via a crafted XML payload. An authenticated user with permission to create or modify workflows could exploit this to pollute the JavaScript object prototype and, by chaining the pollution with the Git node's SSH operations, achieve remote code execution on the n8n host.

Patches

The issue has been fixed in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to one of these versions 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.

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

Executive ViewAI

Why It Matters

n8n versions prior to 1.123.32, 2.17.4, or 2.18.1 contain a prototype pollution vulnerability in the XML webhook parser that allows authenticated workflow editors to execute arbitrary code on the n8n server through malicious XML payloads chained with Git operations. This directly threatens any organization using n8n for workflow automation, as internal users with editing permissions can compromise the entire automation infrastructure and any systems it integrates with.

Business Impact: Severe
Compensating Controls

Vendor-released patch: n8n versions 1.123.32, 2.17.4, and 2.18.1. If immediate patching is impossible: restrict workflow editing permissions to trusted personnel only; disable XML webhook functionality until upgrade; monitor Git node execution logs for anomalous activity; isolate n8n host from sensitive downstream systems.

Threat Intelligence Overview

EPSS Score
0.5%
Top 35% exploitable
Threat Intel
1
1 source
Data Quality
7 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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