n8n: Bypass "Allowed HTTP Request Domains" Credential Restriction in Multiple AI and LLM Nodes
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.
AI Analysis
Technical Summary
The vulnerability in n8n involves a bypass of the "Allowed HTTP Request Domains" credential allowlist in multiple AI and LLM nodes. This allowlist is intended to restrict which hosts can receive a credential's secret, protecting shared credentials from misuse by users who can use but not view them. Due to improper enforcement when a user-supplied base or endpoint URL is set, a low-privileged workflow editor with use-only access to a shared credential can redirect requests to an attacker-controlled host, causing the credential secret to be leaked. This enables the attacker to reuse the credential against the underlying service. The vulnerability only affects credentials with domain restrictions configured and shared with non-owner users. The issue has been fixed in n8n versions 2.31.5 and 2.32.1.
Potential Impact
An attacker with low privileges and use-only access to a shared credential can cause the credential secret to be transmitted to an attacker-controlled host by exploiting the bypass in the domain restriction. This leads to credential leakage and potential unauthorized access to the underlying service using the stolen credential. The impact is high because it compromises the confidentiality of shared credentials intended to be protected by domain restrictions.
Mitigation Recommendations
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.
n8n: Bypass "Allowed HTTP Request Domains" Credential Restriction in Multiple AI and LLM Nodes
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.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in n8n involves a bypass of the "Allowed HTTP Request Domains" credential allowlist in multiple AI and LLM nodes. This allowlist is intended to restrict which hosts can receive a credential's secret, protecting shared credentials from misuse by users who can use but not view them. Due to improper enforcement when a user-supplied base or endpoint URL is set, a low-privileged workflow editor with use-only access to a shared credential can redirect requests to an attacker-controlled host, causing the credential secret to be leaked. This enables the attacker to reuse the credential against the underlying service. The vulnerability only affects credentials with domain restrictions configured and shared with non-owner users. The issue has been fixed in n8n versions 2.31.5 and 2.32.1.
Potential Impact
An attacker with low privileges and use-only access to a shared credential can cause the credential secret to be transmitted to an attacker-controlled host by exploiting the bypass in the domain restriction. This leads to credential leakage and potential unauthorized access to the underlying service using the stolen credential. The impact is high because it compromises the confidentiality of shared credentials intended to be protected by domain restrictions.
Mitigation Recommendations
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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-64xh-79j6-r5v8
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a6150d09c2644c7f8da04ff
Added to database: 07/22/2026, 23:22:56 UTC
Last enriched: 07/22/2026, 23:28:15 UTC
Last updated: 07/22/2026, 23:28:15 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.