CVE-2026-59259

n8n before versions 1.123.61, 2.27.4, and 2.28.1 contains a permission bypass vulnerability in external secrets handling caused by a mismatch between the static validation check and the runtime expression engine. An authenticated user with credential create or update permissions but without the externalSecret:list scope can embed external secret references into credentials in forms the static validation does not detect; these references resolve at workflow execution time, exposing secret values the user is not authorized to access. This issue only affects instances where an external secrets provider is configured and Advanced Permissions are in use.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:2.28.0:*:*:*:community:node.js:*:*
cpe:2.3:a:n8n:n8n:2.28.0:*:*:*:enterprise:node.js:*:*

History

16 Jul 2026, 20:08

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
References () https://github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm - () https://github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm - Vendor Advisory
References () https://www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets - () https://www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets - Third Party Advisory
CPE cpe:2.3:a:n8n:n8n:2.28.0:*:*:*:community:node.js:*:*
cpe:2.3:a:n8n:n8n:2.28.0:*:*:*:enterprise:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
First Time N8n
N8n n8n

15 Jul 2026, 12:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-15 12:18

Updated : 2026-07-16 20:08


NVD link : CVE-2026-59259

Mitre link : CVE-2026-59259

CVE.ORG link : CVE-2026-59259


JSON object : View

Products Affected

n8n

  • n8n
CWE
CWE-639

Authorization Bypass Through User-Controlled Key