Skip to content

CVE-2026-59259 n8n - Permission Bypass via Expression Parser Mismatch in External Secrets

MediumCVSS 6.0 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
n8n < 1.123.61; = 2.28.0; >= 2.0.0, < 2.27.4 1.123.61, 2.27.4 Fixed
npm n8n < 1.123.61; >= 2.0.0-rc.0, < 2.27.4; >= 2.28.0, < 2.28.1 1.123.61, 2.27.4, 2.28.1 Fixed
npm n8n(npm) < 1.123.61; >= 2.0.0-rc.0, < 2.27.4; >= 2.28.0, < 2.28.1 1.123.61, 2.27.4, 2.28.1 Fixed

Affected products

ProductAffected versionsFixed in
npm n8n < 1.123.61 1.123.61
npm n8n >= 2.28.0, < 2.28.1 2.28.1
npm n8n >= 2.0.0-rc.0, < 2.27.4 2.27.4
npm n8n(npm) < 1.123.61 1.123.61
npm n8n(npm) >= 2.28.0, < 2.28.1 2.28.1
npm n8n(npm) >= 2.0.0-rc.0, < 2.27.4 2.27.4
n8n < 1.123.61 1.123.61
n8n >= 2.0.0, < 2.27.4 2.27.4
n8n = 2.28.0 No fix listed

References