# CVE-2026-59259: n8n - Permission Bypass via Expression Parser Mismatch in External Secrets

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-07-15T11:25:35.530Z
- Modified: 2026-10-29T21:16:04.961Z
- Also known as: GHSA-jp7m-xcgx-57qm
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- n8n n8n: before 1.123.61; from 2.28.0 before 2.28.1; from 2.0.0-rc.0 before 2.27.4; from 2.0.0 before 2.27.4; 2.28.0 (not affected: 1.123.61; 2.28.1; 2.27.4)
- n8n (npm): before 1.123.61; from 2.28.0 before 2.28.1; from 2.0.0-rc.0 before 2.27.4

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## 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)

## Sources

- CVE List: [CVE-2026-59259](https://www.cve.org/CVERecord?id=CVE-2026-59259), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-jp7m-xcgx-57qm](https://github.com/advisories/GHSA-jp7m-xcgx-57qm), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-59259](https://nvd.nist.gov/vuln/detail/CVE-2026-59259), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-59259 · Whole record: https://cve.day/CVE-2026-59259.json · Rebuilt by cve.day 2026-11-25T22:59:28.267Z
