# CVE-2026-42231: n8n: Prototype Pollution in XML Webhook Body Parser Leads to RCE

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2026-04-29T21:25:02.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-q5f4-99jv-pgg5
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.123.32; >= 2.17.0, < 2.17.4; >= 2.18.0, < 2.18.1
- n8n (npm): before 1.123.32; from 2.18.0 before 2.18.1; from 2.17.0 before 2.17.4
- n8n n8n: before 1.123.32; from 2.17.0 before 2.17.4; 2.18.0

## Every score

- GitHub_M: CVSS:4.0 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`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-q5f4-99jv-pgg5> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42231> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-42231](https://www.cve.org/CVERecord?id=CVE-2026-42231), CVE Terms of Use, modified 2026-05-05
- GitHub Advisory Database: [GHSA-q5f4-99jv-pgg5](https://github.com/advisories/GHSA-q5f4-99jv-pgg5), CC-BY-4.0, modified 2026-05-08
- NVD: [CVE-2026-42231](https://nvd.nist.gov/vuln/detail/CVE-2026-42231), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42231 · Whole record: https://cve.day/CVE-2026-42231.json · Rebuilt by cve.day 2026-11-25T22:59:20.553Z
