CVE-2026-59259
published medium CVSS 4.0 · 6.0n8n - Permission Bypass via Expression Parser Mismatch in External Secrets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n8n | — | n8n0 to < 1.123.61 (affected · semver) · 1.123.61 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| n8n | — | n8n2.28.0 to < 2.28.1 (affected · semver) · 2.28.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| n8n | — | n8n2.0.0-rc.0 to < 2.27.4 (affected · semver) · 2.27.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n8n | n8n | 0 to < 1.123.61 (affected · semver)1.123.61 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| n8n | n8n | 2.28.0 to < 2.28.1 (affected · semver)2.28.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| n8n | n8n | 2.0.0-rc.0 to < 2.27.4 (affected · semver)2.27.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-639 Authorization Bypass Through User-Controlled Key
References
2- GitHub Security Advisory (GHSA-jp7m-xcgx-57qm) https://github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm
- VulnCheck Advisory: n8n - Permission Bypass via Expression Parser Mismatch in External Secrets https://www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets
Provider assertions
2VulnCheck · cna
n8n - Permission Bypass via Expression Parser Mismatch in External Secrets
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 34b2e00a5d98287daa89a261b2505cd83fdbbd72790dc0ef653a5792eb4632dc
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record