n8n before 2.30.1 and 2.29.8 assigns all Public API key scopes to JWTs issued through the Token Exchange module regardless of the acting user's role. On instances where the Token Exchange feature and Public API are enabled, a low-privileged user who can obtain a valid external JWT trusted by a configured issuer can use the resulting access token to invoke administrator-only Public API operations such as role escalation, user creation, and user deletion (role escalation requires an Advanced Permissions license), and, when unverified Community Package installation is enabled, achieve remote code execution.
References
| Link | Resource |
|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-777w-rpr6-c52h | Mitigation Vendor Advisory |
| https://www.vulncheck.com/advisories/n8n-before-privilege-escalation-via-token-exchange | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
27 Jul 2026, 19:14
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:enterprise:node.js:*:* cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:* cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:community:node.js:*:* |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
| First Time |
N8n
N8n n8n |
|
| References | () https://github.com/n8n-io/n8n/security/advisories/GHSA-777w-rpr6-c52h - Mitigation, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/n8n-before-privilege-escalation-via-token-exchange - Third Party Advisory |
22 Jul 2026, 12:18
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-22 12:18
Updated : 2026-07-27 19:14
NVD link : CVE-2026-65595
Mitre link : CVE-2026-65595
CVE.ORG link : CVE-2026-65595
JSON object : View
Products Affected
n8n
- n8n
CWE
CWE-269
Improper Privilege Management
