Moderate severityNVD Advisory· Published Jul 15, 2026· Updated Jul 15, 2026
n8n - Permission Bypass via Expression Parser Mismatch in External Secrets
CVE-2026-59259
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | < 1.123.61 | 1.123.61 |
n8nnpm | >= 2.28.0, < 2.28.1 | 2.28.1 |
n8nnpm | >= 2.0.0-rc.0, < 2.27.4 | 2.27.4 |
Affected products
1Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-jp7m-xcgx-57qmghsaADVISORY
- github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qmghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-59259ghsaADVISORY
- www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secretsghsathird-party-advisoryWEB
- github.com/n8n-io/n8n/releases/tag/[email protected]ghsaWEB
- github.com/n8n-io/n8n/releases/tag/[email protected]ghsaWEB
- github.com/n8n-io/n8n/releases/tag/[email protected]ghsaWEB
News mentions
0No linked articles in our index yet.