CVE-2026-65595CWE-269

n8n before 2.29.8 and 2.30.1 Privilege Escalation via Token Exchange

High · published July 22, 2026

CVSS v4.0
8.9
EPSS
1%
Percentile
52.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.9 · HIGH
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
EPSS
0.00693 · 52.4th percentile
Weakness
CWE-269 · Improper Privilege Management
Published
2026-07-22T11:21Z
EPSS history
Timeline
  • 22 JUL 11:21Z
    n8n before 2.29.8 and 2.30.1 Privilege Escalation via Token Exchange
    cvelistv5