N8n-io n8n
n8n before 1.123.67 Credential Exfiltration via Sub-Workflow
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.123.67
Fixed in 1.123.67
- >= 2.32.0, < 2.32.1
Fixed in 2.32.1
- >= 2.0.0-rc.0, < 2.31.5
Fixed in 2.31.5
Mitigation
Upgrade n8n to 1.123.67 or later.
Upgrade n8n to 2.32.1 or later.
Upgrade n8n to 2.31.5 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.