CVE-2026-65595
published high CVSS 4.0 · 8.9n8n before 2.29.8 and 2.30.1 Privilege Escalation via Token Exchange
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n8n-io | — | n8n2.30.0 to < 2.30.1 (affected · semver) · 2.30.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| n8n-io | — | n8n0 to < 2.29.8 (affected · semver) · 2.29.8 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.9 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n8n-io | n8n | 2.30.0 to < 2.30.1 (affected · semver)2.30.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| n8n-io | n8n | 0 to < 2.29.8 (affected · semver)2.29.8 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-269 Improper Privilege Management
References
2- GitHub Security Advisory (GHSA-777w-rpr6-c52h) https://github.com/n8n-io/n8n/security/advisories/GHSA-777w-rpr6-c52h
- VulnCheck Advisory: n8n before 2.30.1 Privilege Escalation via Token Exchange https://www.vulncheck.com/advisories/n8n-before-privilege-escalation-via-token-exchange
Provider assertions
2VulnCheck · cna
n8n before 2.29.8 and 2.30.1 Privilege Escalation via Token Exchange
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6750b212c39d7c7870be8ded115f33c6be71b3aa516acddee3ed2a1732d6469c
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record