CVE-2026-59259

published 15 Jul 2026 · updated 29 Oct 2026

n8n - Permission Bypass via Expression Parser Mismatch in External Secrets

6.0MediumCVSS 6.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in n8n 1.123.61, n8n 2.27.4 and n8n 2.28.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
n8nn8n<1.123.61, >=2.0.0-rc.0 <2.27.4, >=2.28.0 <2.28.11.123.61, 2.27.4, 2.28.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in n8n, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-59259 severity on Zeptric[![CVE-2026-59259](https://zeptric.io/badge/cve/CVE-2026-59259.svg)](https://zeptric.io/cve/CVE-2026-59259)