{"id":"CVE-2026-72763","aliases":["CVE-2026-72763","GHSA-cj9h-qx8g-pq2g"],"related":[],"kind":"vulnerability","state":"published","title":"n8n before 1.123.67 Credential Exfiltration via Sub-Workflow","summary":"n8n before 1.123.67, 2.31.5, and 2.32.1 validates credential-access only for a node's top-level credentials and not for credentials referenced inside an Execute Sub-workflow node's inline workflow JSON. A member with Editor access to a shared workflow (when workflow sharing is enabled) who knows a target credential's ID can reference that credential in the inline JSON; it passes save-time and runtime validation and resolves in the parent workflow's project context, allowing the attacker to use or exfiltrate credentials they are not permitted to access.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"n8n before 1.123.67, 2.31.5, and 2.32.1 validates credential-access only for a node's top-level credentials and not for credentials referenced inside an Execute Sub-workflow node's inline workflow JSON. A member with Editor access to a shared workflow (when workflow sharing is enabled) who knows a target credential's ID can reference that credential in the inline JSON; it passes save-time and runtime validation and resolves in the parent workflow's project context, allowing the attacker to use or exfiltrate credentials they are not permitted to access.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nn8n's credential-access checks validated only a node's top-level credentials, not credentials referenced inside an Execute Sub-workflow node's inline workflow JSON. A member with editor access to a shared workflow could reference a credential they were not permitted to use inside that inline JSON; it passed both save-time and runtime validation and resolved in the parent workflow's project context, letting the member use or exfiltrate a credential they could not otherwise access.\n\nExploitation requires workflow sharing to be enabled and the attacker to have been explicitly granted Editor access to a shared workflow. The attacker must also know the target credential's ID.\n\n## Patches\n\nThe issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict workflow sharing to fully trusted users only, and avoid granting Editor access to untrusted members on workflows that use sensitive credentials.\n- Audit shared workflows for Execute Sub-workflow nodes with Source = \"Parameter\" and review their inline workflow definitions for unexpected credential references.\n- Restrict network egress from the n8n instance to prevent connections to attacker-controlled endpoints.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"n8n antes de 1.123.67, 2.31.5 y 2.32.1 valida el acceso a credenciales solo para las credenciales de nivel superior de un nodo y no para las credenciales referenciadas dentro del JSON de flujo de trabajo en línea de un nodo Execute Sub-workflow. Un miembro con acceso de Editor a un flujo de trabajo compartido (cuando el uso compartido de flujos de trabajo está habilitado) que conoce el ID de una credencial objetivo puede referenciar esa credencial en el JSON en línea; pasa la validación en tiempo de guardado y en tiempo de ejecución y se resuelve en el contexto del proyecto del flujo de trabajo padre, permitiendo al atacante usar o exfiltrar credenciales a las que no tiene permiso para acceder.","source":"nvd"}],"published":"2026-07-22T22:11:22.000Z","modified":"2026-10-29T21:16:36.894Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-639","CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.67","status":"affected"},{"type":"semver","version":"1.123.67","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.32.0","fixed":"2.32.1","status":"affected"},{"type":"semver","version":"2.32.1","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","fixed":"2.31.5","status":"affected"},{"type":"semver","version":"2.31.5","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.67"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.32.0","status":"affected","fixed":"2.32.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","status":"affected","fixed":"2.31.5"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.67"},{"status":"affected","introduced":"2.31.0","fixed":"2.31.5"},{"status":"affected","version":"2.32.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-cj9h-qx8g-pq2g","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-credential-exfiltration-via-sub-workflow","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1","tags":["web"],"sources":["ghsa"]}],"credits":["nlgbao1340"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-11T18:00:55.830Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72763","url":"https://www.cve.org/CVERecord?id=CVE-2026-72763","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:36.894Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cj9h-qx8g-pq2g","url":"https://github.com/advisories/GHSA-cj9h-qx8g-pq2g","licence":"CC-BY-4.0","modified":"2026-08-12T04:26:17.569Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72763","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72763","licence":"Public domain","modified":"2026-10-29T20:17:33.970Z"}],"updatedAt":"2026-11-25T22:59:32.242Z","epss":{"score":0.00358,"percentile":0.21855,"date":"2026-11-30T12:00:22.000Z"}}