Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.9%top 47%

CVE-2026-42231: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in n8n-io n8n

0
Critical
VulnerabilityCVE-2026-42231cvecve-2026-42231cwe-1321
Published: Mon May 04 2026 (05/04/2026, 18:30:27 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: n8n

Description

A critical prototype pollution vulnerability (CWE-1321) exists in the n8n workflow automation platform prior to versions 1.123.32, 2.17.4, and 2.18.1. The flaw arises from the xml2js library used in n8n's webhook handler, allowing an authenticated user with workflow modification permissions to craft an XML payload that pollutes the JavaScript object prototype. By chaining this pollution with the Git node's SSH operations, remote code execution on the n8n host is possible. This vulnerability has been patched in the specified versions.

CVSS v4.0

Score 9.4critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

Affected versions
<1.123.32

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/12/2026, 06:30:45 UTC

Technical Analysis

n8n versions before 1.123.32, 2.17.4, and 2.18.1 use a vulnerable xml2js library to parse XML request bodies in their webhook handler. This allows an authenticated user with permissions to create or modify workflows to perform prototype pollution via a crafted XML payload. Exploiting this, combined with the Git node's SSH functionality, can lead to remote code execution on the host running n8n. The issue is addressed by patches released in versions 1.123.32, 2.17.4, and 2.18.1.

Potential Impact

Successful exploitation allows an authenticated user with workflow modification rights to achieve remote code execution on the n8n host system. This can lead to full compromise of the host environment running the vulnerable n8n instance. The CVSS 4.0 score is 9.4 (critical), reflecting the high impact and ease of exploitation given low attack complexity and no user interaction required.

Mitigation Recommendations

This vulnerability is patched in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to these or later versions to remediate the issue. Since this is not a cloud service, remediation depends on applying these official fixes. Patch status is confirmed by the vendor advisory information embedded in the description.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-25T05:37:12.117Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69f8eaaecbff5d8610415afc

Added to database: 5/4/2026, 6:51:26 PM

Last enriched: 5/12/2026, 6:30:45 AM

Last updated: 6/19/2026, 11:14:20 AM

Views: 78

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses