Security mailing lists by PureSourceCode

CVE-2026-65595

HIGH 8.9CVSS 4.0

n8n: Privilege Escalation and Code Execution via Full Public API Key Scope Assignment to Token Exchange JWTs

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.

Published
22 Jul 2026
Last modified
29 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-269
Also known as
GHSA-777w-rpr6-c52h
Sources
NVDJSONOSV GHSA-777w-rpr6-c52hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD n8n n8n
cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*
< 2.29.8 2.29.8
NVD n8n n8n
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
< 2.29.8 2.29.8
NVD n8n n8n
cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:community:node.js:*:*
= 2.30.0
NVD n8n n8n
cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:enterprise:node.js:*:*
= 2.30.0
OSV npm n8n >= 2.30.0, < 2.30.1 2.30.1
OSV npm n8n < 2.29.8 2.29.8

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jul 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.