CVE-2026-86074: n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
n8n is an open source workflow automation platform. Prior to 2.37.7 and 2.38.2, the Instance AI credential setup flow accepted a credential test or verification URL without checking that it matched the workflow node's origin. Attacker-controlled fetched content could influence that URL after a user injected it into the setup flow, causing authenticated requests, redirects, or probes to reach another origin. The affected logic includes packages/@n8n/instance-ai/src/tools/workflows/credential-utils.ts and the extractServiceOrigin origin derivation. This issue is fixed in versions 2.37.7 and 2.38.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
n8n Instance AI credential setup flowto a version that resolves this vulnerability.Fixed in 2.37.7 - Upgrade
Upgrade
n8n Instance AI credential setup flowto a version that resolves this vulnerability.Fixed in 2.38.2
Event History
Frequently Asked Questions
Who is exposed to this issue?
n8n instances running versions earlier than 2.37.7 or 2.38.2 are affected when users use the Instance AI credential setup flow with fetched content that an attacker can control.
What does an attacker need to exploit it?
The attacker needs to influence fetched content so that it supplies a credential test or verification URL after a user injects that content into the Instance AI credential setup flow. The vulnerable flow can then send authenticated requests, redirects, or probes to a different origin.
What should teams do if they cannot patch immediately?
Avoid using attacker-controlled fetched content in the Instance AI credential setup flow, particularly where that content can provide or influence credential test or verification URLs. Limit use of the affected setup flow until upgrading to 2.37.7 or 2.38.2.