CVE-2026-65595 json
n8n before 2.29.8 and 2.30.1 Privilege Escalation via Token Exchange
published 2026-07-22 3 mo ago modified 2026-10-29 10 d ago also GHSA-777w-rpr6-c52h , EUVD-2026-47639
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm n8n 2.29.8, 2.30.1
- n8n-io n8n 2.29.8, 2.30.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 3 mo ago
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.9 | 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 |
| CNA | 4.0 | 8.9 | 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/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 |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | n8n | >=2.30.0, <2.30.1 <2.29.8 |
2.30.1 2.29.8 |
Affected products
- n8n-io n8n
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
github.com
/n8n-io/n8n/security/advisories/GHSA-777w-rpr6-c52h
vendor-advisory, web, mitigation
-
vulncheck.com
/advisories/n8n-before-privilege-escalation-via-token-exchange
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-65595
advisory
-
github.com
/n8n-io/n8n
package
-
github.com
/n8n-io/n8n/releases/tag/n8n@2.29.8
web
-
github.com
/n8n-io/n8n/releases/tag/n8n@2.30.1
web
Sources
- CVE List CVE-2026-65595
- GitHub Advisory GHSA-777w-rpr6-c52h
- NVD CVE-2026-65595
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.