CVE-2026-59259: n8n · External Secrets Permission Bypass via Expression Parser Mismatch
Affects n8nSource GCVE Database
Not known to be exploited · CVSS 6.0 Medium : upgrade to 2.27.4 when convenient.
Data as of 5 Dec 2026, 18:47 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.0 |
|---|
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.27.4
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade n8n to 2.27.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmn8n | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade n8n to version 1.123.61, 2.27.4, 2.28.1, or later to remediate this vulnerability. These versions contain the official fix addressing the permission bypass issue. No additional mitigation steps are indicated.
Description
CVE-2026-59259 is a vulnerability in n8n that allows an authenticated user with credential create or update permissions, but lacking the externalSecret:list scope, to bypass permission checks. This occurs due to a mismatch between static validation and runtime expression parsing, potentially exposing secret values during workflow execution. The issue affects instances using an external secrets provider with Advanced Permissions enabled. Fixed versions include 1.123.61, 2.27.4, and 2.28.1 or later.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59259 (opens in a new tab)
- github.com/n8n-io/n8n (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@1.123.61 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.27.4 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.28.1 (opens in a new tab)
- vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets (opens in a new tab)