CVE-2026-59259: n8n: External Secrets Permission Bypass via Expression Parser Mismatch
Due to 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, could embed external secret references into credentials in forms the validation did not detect. These references would resolve at workflow execution time, exposing secret values the user was not authorized to access.
This issue only affects instances where an external secrets provider is configured and Advanced Permissions are in use.
References
- github.com/advisories/GHSA-jp7m-xcgx-57qm
- github.com/n8n-io/n8n/releases/tag/n8n@1.123.61
- github.com/n8n-io/n8n/releases/tag/n8n@2.27.4
- github.com/n8n-io/n8n/releases/tag/n8n@2.28.1
- github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm
- nvd.nist.gov/vuln/detail/CVE-2026-59259
- www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets
Code Behaviors & Features
Detect and mitigate CVE-2026-59259 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →