Skip to content
MediumVulnerability

GHSA-q5wm-mgqx-fv2f: n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content

Published
Record updated
View JSON
Affected
  • n8n < 2.37.7, fixed in 2.37.7, released September 2, 2026, 8 days before disclosure
  • n8n >= 2.38.0, < 2.38.2, fixed in 2.38.2, released September 2, 2026, 8 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

GHSA-q5wm-mgqx-fv2f affects the Instance AI credential setup in n8n, which accepted a credential test or verification URL without checking that it matched the workflow node's origin. Exfiltration required a user to actively inject an attacker-controlled URL into the setup flow, and the patch derives the credential destination from the node's own URL, confining authenticated requests, redirects and probes to that origin.

Mitigation

The issue has been fixed in n8n versions 2.38.2 and 2.37.7. Users should upgrade to one of these versions or later. If upgrading is not immediately possible, temporary mitigations are: remove `instance-ai` from the `N8N_ENABLED_MODULES` environment variable if the module is not required; restrict n8n instance access to fully trusted users only; and rotate any third-party API credentials set up using the Instance AI credential-setup flow on affected versions. These workarounds do not fully remediate the risk and should only be used as short-term measures.