Privilege Escalation Vulnerability in n8n: AI Agents Project Viewer Exploit

n8n Updated 23 Jul 2026

Summary

22/07/2026
HIGH
No i
High
Not published

GHSA-w46p-w7w2-fr9g: Duplicate Advisory: AI Agents Project Viewer Privilege Escalation via run_node_tool. Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

n8n is an open-source workflow automation tool that allows users to connect various applications and services to automate tasks. It features an AI Agents capability that enables users to interact with automated agents for executing tasks. However, prior to version 2.30.1, n8n had a significant vulnerability in its AI Agents feature, where the node-execution tool did not enforce proper authorization checks, leading to potential privilege escalation.

Vulnerability Detail

The vulnerability arises from the lack of authorization checks in the AI Agents feature of n8n versions before 2.30.1. A Project Viewer user can exploit this weakness by interacting with an agent that has node tools enabled. This allows them to execute arbitrary nodes and access sensitive credential secrets without proper authorization verification. The ramifications of this vulnerability are severe, as it could lead to unauthorized access to sensitive data and actions within the n8n environment.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can restrict access to the AI Agents feature for Project Viewer users until the package is updated. This can be done by modifying user roles and permissions within the n8n application settings.

Conclusion

The privilege escalation vulnerability in n8n's AI Agents feature poses a significant risk to users, particularly those with Project Viewer access. It is crucial to update to version 2.30.1 or later to mitigate this risk. Additionally, users can utilize Vulert to monitor their projects for vulnerabilities effectively.

See every vulnerability recorded for n8n →

Share this vulnerability

FAQ

The vulnerability allows Project Viewer users to escalate their privileges by executing arbitrary nodes through the AI Agents feature without proper authorization.

You can check your n8n version by running 'n8n --version' in your terminal. If your version is below 2.30.1, you are affected by this vulnerability.

The risks include unauthorized access to sensitive data and the ability to execute arbitrary actions within the n8n environment, potentially compromising the entire workflow automation setup.

Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities without any signup at the Vulert playground.

If immediate updating is not possible, consider restricting access to the AI Agents feature for Project Viewer users as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for n8n.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback