GHSA-6qc9-mqvw-jg7x: n8n: Credential Authorization Bypass via Expression in HTTP Request Node `genericAuthType`
An authenticated member with edit access to a shared workflow could reference another user’s credential in an HTTP Request node while specifying the credential type through an expression. Because the pre-execution permission check compared the unresolved expression instead of the real credential type, the ownership check was skipped and the credential was loaded at execution time, letting the member use or exfiltrate a credential they were never granted. Exploitation required knowing the target credential’s identifier.
References
- github.com/advisories/GHSA-6qc9-mqvw-jg7x
- github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f
- github.com/n8n-io/n8n/releases/tag/n8n@1.123.67
- github.com/n8n-io/n8n/releases/tag/n8n@2.31.5
- github.com/n8n-io/n8n/releases/tag/n8n@2.32.1
- github.com/n8n-io/n8n/security/advisories/GHSA-6qc9-mqvw-jg7x
Code Behaviors & Features
Detect and mitigate GHSA-6qc9-mqvw-jg7x with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →