CVE-2026-59259

MEDIUM

n8n - Permission Bypass via Expression Parser Mismatch in External Secrets

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-jp7m-xcgx-57qm)
https://github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm
Third Party Advisory third-party-advisory
VulnCheck Advisory: 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

Scores

CVSS v3 6.5
EPSS 0.0032
EPSS Percentile 24.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-639
Status published
Products (10)
n8n/n8n 2.28.0 (2 CPE variants)
n8n/n8n < 1.123.61 (2 CPE variants)
n8n/n8n < 2.27.4
n8n/n8n < 2.28.1
n8n/n8n 1.123.61
n8n/n8n 2.27.4
n8n/n8n 2.28.1
npm/n8n 0 - 1.123.61npm
npm/n8n 2.0.0-rc.0 - 2.27.4npm
npm/n8n 2.28.0 - 2.28.1npm
Published Jul 15, 2026
Tracked Since Jul 15, 2026