| Component | n8n |
| Severity | medium (CVSS 6.1) |
| CVSS vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Published (NVD) | 2026-10-14 |
| Affected versions | < 2.41.4 >= 2.42.0, < 2.42.1 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 2.41.4, 2.42.1 |
| Weakness | CWE-639 |
| CISA KEV | not listed |
NVD description
n8n before 2.41.4 and 2.42.x before 2.42.1 contains an authorization bypass in the Agents create endpoint, which accepts a caller-supplied Agent ID, checks permissions only against the requested project, and updates an existing Agent without verifying which project owns it. An authenticated user with read-only Agent access to another project can supply an existing Agent ID to move that Agent into their own project and rewrite its name, schema and version.
What to do
- Upgrade n8n to the fixed release of the branch you run:
2.41.4or2.42.1, or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-110851
- https://github.com/n8n-io/n8n/security/advisories/GHSA-2r5r-xgvc-rj4p
- https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-cross-project-agent-ownership-transfer-via-agents-create-endpoint