CVE-2026-59259 n8n - Permission Bypass via Expression Parser Mismatch in External Secrets
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- GitHub Security Advisory (GHSA-jp7m-xcgx-57qm) vendor-advisory
- VulnCheck Advisory: n8n - Permission Bypass via Expression Parser Mismatch in External Secrets third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com
- github.com
- github.com
- github.com product
- ENISA EUVD EUVD-2026-44635 third-party-advisory