GHSA-q5wm-mgqx-fv2f: SSRF

Published Sep 10, 2026
·
Updated

Impact

Instance AI credential setup accepted a credential test/verification URL without checking it matched the workflow node's origin. Exfiltration required the user to actively inject an attacker-controlled URL into the setup flow. The patch derives the credential destination from the node's own URL and confines authenticated requests, redirects and probes to that origin.

Patches

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 to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Disable the Instance AI module by removing instance-ai from the N8NENABLEDMODULES environment variable if it is not required. - Restrict n8n instance access to fully trusted users only. - Rotate any third-party API credentials that were 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 mitigation measures.

Affected Software

2 affected componentsFixes available
npm/n8n<2.37.7
2.37.7
npm/n8n>=2.38.0<2.38.2
2.38.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/n8n to a version that resolves this vulnerability.

    Fixed in 2.37.7
  2. Upgrade

    Upgrade npm/n8n to a version that resolves this vulnerability.

    Fixed in 2.38.2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.38.2
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.37.7
  5. Configuration

    If Instance AI is not required, disable it by removing `instance-ai` from the `N8N_ENABLED_MODULES` environment variable.

    n8n Instance AI module N8N_ENABLED_MODULES = remove instance-ai
  6. Compensating control

    Restrict access to the n8n instance to fully trusted users only.

  7. Operational

    Rotate any third-party API credentials that were set up using the Instance AI credential-setup flow on affected versions.

Event History

Sep 10, 2026
Advisory Published
via GitHub·09:18 PM
Data Sourced
via GitHub·09:18 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker must cause a user to actively provide an attacker-controlled credential test or verification URL during the Instance AI credential-setup flow. The issue is therefore most relevant where untrusted users can access or influence that setup process.

2

Which versions contain the fix?

Upgrade n8n to version 2.38.2, 2.37.7, or a later version. The patch derives the credential destination from the workflow node's URL and limits authenticated requests, redirects, and probes to that origin.

3

What can administrators do before upgrading?

If Instance AI is not needed, remove instance-ai from the N8N_ENABLED_MODULES environment variable to disable it. Also restrict access to fully trusted users and rotate third-party API credentials configured through the Instance AI credential-setup flow on affected versions; these are temporary mitigations only.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203