Medium severity · published Jul 15, 2026
CVE-2026-59259
n8n - Permission Bypass via Expression Parser Mismatch in External Secrets
6.5
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
N8
n8n · n8n
before 1.123.61; before 2.28.1; before 2.27.4 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-59259
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-59259
Vendor Advisory
https://github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm
Third Party Advisory
https://www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets
More from n8n
8.8
CVE-2025-68613
n8n Vulnerable to Remote Code Execution via Expression Injection
10.0
CVE-2026-54309
n8n: n8n MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions
10.0
CVE-2026-21858
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
9.9
CVE-2026-85165
n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
9.9
CVE-2026-72765
n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape
