CVE-2026-59259CWE-639

n8n - Permission Bypass via Expression Parser Mismatch in External Secrets

Medium · published July 15, 2026

CVSS v4.0
6.0
EPSS
0%
Percentile
37.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00438 · 37.0th percentile
Weakness
CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2026-07-15T11:25Z
EPSS history
Timeline
  • 15 JUL 11:25Z
    n8n - Permission Bypass via Expression Parser Mismatch in External Secrets
    cvelistv5