{"cve":"CVE-2026-59259","nvd":{"published":"2026-07-15T12:18:17.797","modified":"2026-10-24T21:10:00.130","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":6.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-639"],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm","https://www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets"],"products":["n8n:n8n"],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-59259","score":0.00438,"percentile":0.37753,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-jp7m-xcgx-57qm","url":"https://osv.dev/vulnerability/GHSA-jp7m-xcgx-57qm","summary":"n8n: External Secrets Permission Bypass via Expression Parser Mismatch","modified":"2026-07-22T22:31:05.997938837Z","packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":["<1.123.61"],"fixed":["1.123.61"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.28.0 <2.28.1"],"fixed":["2.28.1"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.0.0-rc.0 <2.27.4"],"fixed":["2.27.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}