CVE-2026-65595 PUBLISHED

n8n before 2.30.1 Privilege Escalation via Token Exchange

Assigner: VulnCheck
Reserved: 22.07.2026 Published: 22.07.2026 Updated: 22.07.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:L/SA:L
CVSS Score: 8.9

Product Status

Vendor n8n-io
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.30.1 (excl.)
  • Version 2.30.1 is unaffected
Vendor n8n-io
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.29.8 (excl.)
  • Version 2.29.8 is unaffected

Credits

  • odgrso reporter

References

Problem Types

  • Improper Privilege Management CWE