Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| N8N | N8N | < 2.29.8 |
Related Weaknesses (CWE)
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-777w-rpr6-c52hMitigationVendor Advisory
- https://www.vulncheck.com/advisories/n8n-before-privilege-escalation-via-token-eThird Party Advisory
FAQ
What is CVE-2026-65595?
CVE-2026-65595 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2026-65595?
CVE-2026-65595 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-65595?
Check the references section above for vendor advisories and patch information. Affected products include: N8N N8N.