CVE-2026-86074 n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content

Medium 5.9 Published Updated

Attackers can force n8n to make requests to arbitrary origins via unvalidated URLs in AI credential setup, potentially exposing internal data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-86074?

CVE-2026-86074 is a medium-severity server-side request forgery vulnerability in N8n N8n, published on 8 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-918

Which versions are affected by CVE-2026-86074?

4 open source packages ship an affected version, including n8n. It affects 1 product.

PackageAffectedFixed in
n8n npmAll versions2.37.7
n8n npmAll versions2.37.7
n8n npmFrom 2.38.02.38.2
n8n npmFrom 2.38.02.38.2

Products include N8n N8n.

How do I fix CVE-2026-86074?

Upgrade n8n to a fixed version for your release line: 2.37.7 or 2.38.2.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-86074 being exploited?

There is no known exploitation of CVE-2026-86074 in the wild and no public exploit code.

All N8n N8n vulnerabilities

Sources

Also known as GHSA-q5wm-mgqx-fv2f, MINI-5mqj-wv9h-f729.

Is CVE-2026-86074 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free