n8n: Microsoft SQL Node Prototype Pollution
Description
Authenticated users can pollute Object.prototype via a crafted Microsoft SQL node table parameter, crashing n8n until a restart.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Authenticated users can pollute Object.prototype via a crafted Microsoft SQL node table parameter, crashing n8n until a restart.
Vulnerability
The Microsoft SQL node in n8n versions prior to 2.24.0 is vulnerable to global prototype pollution [1][2]. An authenticated user with permission to create or modify workflows can supply a crafted value as the table parameter, which pollutes Object.prototype process-wide. This affects the entire n8n server process for its lifetime. The vulnerability exists in versions before 2.24.0 [1][2].
Exploitation
To exploit the vulnerability, an attacker must have valid authentication and the ability to create or modify workflows in n8n [1][2]. The attacker provides a specially crafted value in the table parameter of the Microsoft SQL node. No additional user interaction or network position beyond the standard authenticated access is required [1][2].
Impact
Successful exploitation results in global prototype pollution, polluting Object.prototype for the entire n8n server process [1][2]. This causes application-wide validation failures, making the n8n instance completely non-functional until the server process is restarted. The impact is a denial of service (availability loss) with no direct confidentiality or integrity compromise [1][2].
Mitigation
The issue has been fixed in n8n version 2.24.0 [1][2]. Users should upgrade to this version or later. If immediate upgrade is not possible, administrators can temporarily limit workflow creation and editing permissions to fully trusted users, or disable the Microsoft SQL node by adding n8n-nodes-base.microsoftSql to the NODES_EXCLUDE environment variable [1][2]. These workarounds do not fully remediate the risk and should only be used as short-term measures [1][2].
AI Insight generated on Jun 16, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
2News mentions
0No linked articles in our index yet.