Skip to main content

n8n CVE-2026-65595

| EUVDEUVD-2026-47639 HIGH
Improper Privilege Management (CWE-269)
8.9
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
8.9 HIGH
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
vuln.today AI
8.5 HIGH

Network-reachable and low-privileged (PR:L), but obtaining a trusted external JWT is an added requirement so AC:H; privilege escalation and RCE cross a trust boundary so S:C with full C/I/A impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 22, 2026 - 13:02 EUVD
Analysis Generated
Jul 22, 2026 - 12:23 vuln.today
CVE Published
Jul 22, 2026 - 11:21 cve.org
HIGH 8.9

DescriptionCVE.org

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.

AnalysisAI

Privilege escalation and potential remote code execution affects n8n workflow-automation instances before 2.30.1 and 2.29.8 where both the Token Exchange module and Public API are enabled. Because JWTs issued via Token Exchange are granted the full set of Public API key scopes irrespective of the acting user's role, a low-privileged user holding a valid external JWT trusted by a configured issuer can invoke administrator-only operations - creating, deleting, or escalating users, and, where unverified Community Package installation is permitted, executing arbitrary code. No public exploit identified at time of analysis; VulnCheck-reported with a CVSS 4.0 base of 8.9.

Technical ContextAI

n8n is a source-available workflow automation platform (fair-code) whose Public API exposes privileged administrative endpoints (user management, roles, etc.) gated by API-key scopes. The Token Exchange module lets an external, issuer-signed JWT be exchanged for an n8n access token, effectively federating identity from a trusted issuer. The root cause is CWE-269 (Improper Privilege Management): the scope-assignment logic for Token-Exchange-issued JWTs statically attaches every Public API scope rather than deriving scopes from the authenticated user's role, so the resulting access token over-privileges the bearer. The RCE path leverages n8n's Community Package installation feature - when it permits unverified/unsigned packages, a caller who can drive package installation can execute code within the n8n process.

RemediationAI

Upgrade to a fixed release: n8n 2.30.1 (current line) or 2.29.8 (maintenance line) per the vendor advisory GHSA-777w-rpr6-c52h. Where immediate upgrade is not possible, disable the Token Exchange module, which removes the vulnerable JWT issuance path entirely at the cost of any federated token-exchange login integrations; alternatively disable the Public API, which blocks the administrative endpoints the over-scoped token abuses but breaks any automation relying on the Public API. To specifically cut the RCE path, disable unverified Community Package installation so untrusted packages cannot be installed. As a network control, restrict access to the Public API and Token Exchange endpoints to trusted management networks. Confirm exact configuration flag names against the vendor advisory before applying, and validate that any external issuer trusted by Token Exchange is tightly scoped.

More in N8n

View all
CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

CVE-2023-27564 HIGH POC
7.5 May 10

The n8n package 0.218.0 for Node.js allows Information Disclosure. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2023-27562 MEDIUM POC
6.5 May 10

The n8n package 0.218.0 for Node.js allows Directory Traversal. Rated medium severity (CVSS 6.5), this vulnerability is

CVE-2026-33724 MEDIUM POC
6.3 Mar 25

n8n versions prior to 2.5.0 contain a critical SSH host key verification bypass in the Source Control feature that allow

CVE-2026-33720 MEDIUM POC
6.3 Mar 25

This vulnerability in n8n (an open-source workflow automation platform) is an authentication bypass in the OAuth callbac

CVE-2026-27495 CRITICAL
9.9 Feb 25

Code injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22 allows authenticated users to execute arbitrary c

Share

CVE-2026-65595 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy