---
id: CVE-2026-86074
title: n8n is an open source workflow automation platform
summary: >-
  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-co…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N'
cwe:
  - CWE-918
vendor: n8n
product: n8n
affected:
  - n8n < 2.37.7
  - 'n8n >= 2.38.0, < 2.38.2'
patched:
  - n8n 2.38.2
published: '2026-09-08'
updated: '2026-09-11'
sourceUpdated: '2026-09-11T18:20:24.770'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86074'
references:
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-q5wm-mgqx-fv2f'
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86074'
  - url: 'https://github.com/advisories/GHSA-q5wm-mgqx-fv2f'
tags:
  - nvd
  - cve.org
  - ghsa
  - npm
epss: 0.00376
epssPercentile: 0.2882
aliases:
  - GHSA-q5wm-mgqx-fv2f
ecosystem: npm
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-09T15:49:59.739685Z'
scores:
  nvd: 7.1
  cna: 5.9
ingestedAt: '2026-09-08T19:08:49.634Z'
---

## Overview

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

- `n8n < 2.37.7`
- `n8n >= 2.38.0, < 2.38.2`

## Remediation

Upgrade past the affected range:

- `n8n 2.38.2`

## Package advisory (CVE-2026-86074)

Affected packages:

- `n8n >= 2.38.0, < 2.38.2`
- `n8n < 2.37.7`

Patched in:

- `n8n 2.38.2`
- `n8n 2.37.7`

Source: https://github.com/advisories/GHSA-q5wm-mgqx-fv2f
