n8n: Bypass "Allowed HTTP Request Domains" Credential Restriction in Multiple AI and LLM Nodes
Affects n8nSource GCVE Database
CVSS 7.1 High : upgrade to 2.32.1 soon.
Data as of 22 Jul 2026, 23:28 UTC
- Patch
- Available – fixed in 2.32.1, 2.31.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:NWhat to do
Upgrade n8n to 2.32.1; n8n to 2.31.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmn8n | Affected
| Fixed in
|
| npmn8n | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in n8n versions 2.31.5 and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability. If immediate upgrade is not possible, administrators should restrict workflow creation and editing permissions to fully trusted users, restrict credential sharing to fully trusted users, and audit credentials with domain restrictions for unexpected sharing relationships. These workarounds do not fully remediate the risk and should only be used as short-term measures.
Description
A vulnerability in n8n allows bypassing the "Allowed HTTP Request Domains" credential restriction in multiple AI and LLM nodes. This restriction was designed to prevent credential secrets from being sent to unauthorized hosts. The flaw permits a low-privileged user with use-only access to a shared credential to redirect requests to an attacker-controlled host, exposing the credential secret. The issue affects instances where the credential has domain restrictions configured and is shared with non-owner users. Fixed in versions 2.31.5 and 2.32.1, users should upgrade to these or later versions. Temporary mitigations include restricting workflow editing and credential sharing to trusted users and auditing credential sharing, but these do not fully remediate the risk.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-64xh-79j6-r5v8 (opens in a new tab)
- github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f (opens in a new tab)
- github.com/n8n-io/n8n (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.31.5 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.32.1 (opens in a new tab)