{"id":"GHSA-cj9h-qx8g-pq2g","revision":"100c7f38c26e4e32ac13608f4a50aed3","records":[{"revision":"100c7f38c26e4e32ac13608f4a50aed3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-cj9h-qx8g-pq2g","aliases":["CVE-2026-72763"],"title":"n8n: Shared-Workflow Editor Can Exfiltrate Credentials via Inline Sub-Workflow JSON","description":"## 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.","state":0,"publishedAt":"2026-07-22T22:11:22+00:00","modifiedAt":"2026-08-12T04:26:17.5691116+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.123.67"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.32.0"},{"kind":"fixed","version":"2.32.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.0.0-rc.0"},{"kind":"fixed","version":"2.31.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-cj9h-qx8g-pq2g","https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f","https://github.com/n8n-io/n8n","https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67","https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5","https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1"],"sourceUrl":"https://github.com/advisories/GHSA-cj9h-qx8g-pq2g","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-cj9h-qx8g-pq2g","identifiers":["GHSA-cj9h-qx8g-pq2g","CVE-2026-72763"]},"retained":false,"historicalAffected":[]}],"coverage":[]}