GHSA-w46p-w7w2-fr9g: Duplicate Advisory AI Agents Project Viewer Privilege Vulnerability
HIGHGHSA-w46p-w7w2-fr9g is a HIGH ai agents project viewer privilege vulnerability (CWE-863: Incorrect Authorization) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves ai agents project viewer privilege escalation via run_node_tool. Remediation is available in the latest vendor maintenance releases.
GHSA-w46p-w7w2-fr9g at a Glance
How to Fix GHSA-w46p-w7w2-fr9g
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install n8n@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls n8n
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-w46p-w7w2-fr9g, inspect your project dependencies using npm:
npm ls n8n
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls n8n command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-w46p-w7w2-fr9g Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
n8n
|
npm |
|
|
References
Frequently Asked Questions
What is GHSA-w46p-w7w2-fr9g?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-w46p-w7w2-fr9g?
Is n8n affected?
What CWE is associated with GHSA-w46p-w7w2-fr9g?
How can I check npm dependencies for GHSA-w46p-w7w2-fr9g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w46p-w7w2-fr9g",
"modified" : "2026-07-22T17:54:31Z",
"published" : "2026-07-22T12:32:17Z",
"withdrawn" : "2026-07-22T17:54:31Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: AI Agents Project Viewer Privilege Escalation via run_node_tool",
"details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-x5vx-c2c8-m3w9. This link is maintained to preserve external references.\n\n## Original Description\nn8n 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:L/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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "n8n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 2.29.8"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/n8n-io/n8n/security/advisories/GHSA-x5vx-c2c8-m3w9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-65015"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/n8n-before-privilege-escalation-via-run-node-tool"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-22T17:54:31Z",
"nvd_published_at" : "2026-07-22T12:18:18Z"
}
}