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.
CVE-2026-65595
This high-severity CVE scores 8.9 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 65% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.9
- EG Score
- 8.9(medium)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity89% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 35%
- KEV
- Not listed
Published
July 22, 2026
Last Modified
July 24, 2026
Advisory Details (2)
Auto-updated Jul 22, 2026n8n before 2.30.1 Privilege Escalation via Token Exchange | Advisories | VulnCheck
https://www.vulncheck.com/advisories/n8n-before-privilege-escalation-via-token-exchangePrivilege Escalation and Code Execution via Full Public API Key Scope Assignment to Token Exchange JWTs · Advisory · n8n-io/n8n · GitHub
https://github.com/n8n-io/n8n/security/advisories/GHSA-777w-rpr6-c52hVendor Advisories for CVE-2026-65595(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| n8n | — | 2.29.8 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 29× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-27 14:14 UTCEPSS rescore
- 2026-07-26 16:25 UTCEG score recompute
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 03:30 UTCEG score recompute
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:22 UTCEG score recompute
- 2026-07-22 22:07 UTCEG score recompute
- 2026-07-22 19:59 UTCGHSA enrichment
- 2026-07-22 19:52 UTCGHSA enrichment
- 2026-07-22 19:47 UTCGHSA enrichment
- 2026-07-22 19:42 UTCGHSA enrichment
- 2026-07-22 19:40 UTCGHSA enrichment
- 2026-07-22 19:38 UTCGHSA enrichment
- 2026-07-22 19:32 UTCGHSA enrichment
- 2026-07-22 19:30 UTCGHSA enrichment
- 2026-07-22 19:30 UTCGHSA enrichment
- 2026-07-22 19:29 UTCGHSA enrichment
- 2026-07-22 19:26 UTCGHSA enrichment
- 2026-07-22 19:20 UTCGHSA enrichment
Show 4 moreShow fewer
- 2026-07-22 13:35 UTCEG score recompute
- 2026-07-22 13:35 UTCGHSA enrichment
- 2026-07-22 11:32 UTCEG score recompute
- 2026-07-22 11:32 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-269
Frequently asked(5)
What is CVE-2026-65595?
When was CVE-2026-65595 disclosed?
Is CVE-2026-65595 actively exploited?
What is the CVSS score of CVE-2026-65595?
How do I remediate CVE-2026-65595?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-65595
Is Your Infrastructure Affected by CVE-2026-65595?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.