Description
n8n versions before 2.30.1 contain a privilege escalation vulnerability in the AI Agents feature where the node-execution tool lacks proper authorization checks. A Project Viewer user can escalate privileges by chatting with an agent that has node tools enabled, executing arbitrary nodes and accessing credential secrets without proper authorization verification.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| n8n-io | n8n | 2.30.0 – < 2.30.1, < 2.29.8 | 2.30.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | n8n | >= 2.30.0, < 2.30.1 | 2.30.1 | GHSA-x5vx-c2c8-m3w9 |
| npm | n8n | < 2.29.8 | 2.29.8 | GHSA-x5vx-c2c8-m3w9 |
References
- GitHub Security Advisory (GHSA-x5vx-c2c8-m3w9) vendor-advisory
- VulnCheck Advisory: n8n before 2.30.1 Privilege Escalation via run_node_tool third-party-advisory