CVE-2026-42231

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, 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. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
cpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de las versiones 1.123.32, 2.17.4 y 2.18.1, una falla en la biblioteca xml2js utilizada para analizar cuerpos de solicitud XML en el gestor de webhooks de n8n permitía la contaminación de prototipos mediante una carga útil XML manipulada. Un usuario autenticado con permiso para crear o modificar flujos de trabajo podría explotar esto para contaminar el prototipo de objeto de JavaScript y, encadenando la contaminación con las operaciones SSH del nodo Git, lograr la ejecución remota de código en el host de n8n. Este problema ha sido parcheado en las versiones 1.123.32, 2.17.4 y 2.18.1.

06 May 2026, 17:14

Type Values Removed Values Added
CPE cpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
First Time N8n
N8n n8n
References () https://github.com/n8n-io/n8n/security/advisories/GHSA-q5f4-99jv-pgg5 - () https://github.com/n8n-io/n8n/security/advisories/GHSA-q5f4-99jv-pgg5 - Vendor Advisory

04 May 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-04 19:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-42231

Mitre link : CVE-2026-42231

CVE.ORG link : CVE-2026-42231


JSON object : View

Products Affected

n8n

  • n8n
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')