CVE-2026-59259
MEDIUM 6.0CVSS 4.0n8n: External Secrets Permission Bypass via Expression Parser Mismatch
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.
- Published
- 15 Jul 2026
- Last modified
- 29 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-639
- Also known as
- GHSA-jp7m-xcgx-57qm
- Sources
- NVDJSONOSV GHSA-jp7m-xcgx-57qmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 1.123.61 | 1.123.61 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 2.0.0, < 2.27.4 | 2.27.4 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.28.0:*:*:*:community:node.js:*:* |
= 2.28.0 | |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.28.0:*:*:*:enterprise:node.js:*:* |
= 2.28.0 | |
| OSV | npm | n8n | < 1.123.61 | 1.123.61 |
| OSV | npm | n8n | >= 2.28.0, < 2.28.1 | 2.28.1 |
| OSV | npm | n8n | >= 2.0.0-rc.0, < 2.27.4 | 2.27.4 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59259 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.61 · WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.27.4 · WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.28.1 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jul 2026)