CVE-2026-54312 n8n: Microsoft SQL Node Prototype Pollution

High 7.2 Published Updated

An authenticated user can cause global prototype pollution in n8n via the Microsoft SQL node, leading to a complete denial of service until the server is restarted.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-54312?

CVE-2026-54312 is a high-severity vulnerability in N8n N8n, published on 23 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

n8n is an open source workflow automation platform. Prior to 2.24.0, an authenticated user with permission to create or modify workflows could achieve global prototype pollution via the Microsoft SQL node by supplying a crafted value as the table parameter. This pollutes Object.prototype process-wide for the lifetime of the n8n server process, causing application-wide validation failures and rendering the n8n instance completely non-functional until restarted. This vulnerability is fixed in 2.24.0.

Weakness: CWE-1321

Which versions are affected by CVE-2026-54312?

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

PackageAffectedFixed in
n8n npmAll versions2.24.0
n8n npmAll versions2.24.0

Products include N8n N8n.

How do I fix CVE-2026-54312?

Upgrade n8n to 2.24.0 or later.

Is CVE-2026-54312 being exploited?

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

All N8n N8n vulnerabilities

Sources

Also known as GHSA-x6p3-m6h9-fx7r, MINI-wgj6-mwx8-34j8, ROOT-APP-NPM-CVE-2026-54312.

Is CVE-2026-54312 in your software?

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

Check your SBOMs for free