NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · n8n

CVE-2026-44789: n8n: HTTP Request Node Pagination Prototype Pollution to RCE

criticalCVSS 4.0 9.4 · 3.1 9.9GHSA-c8xv-5998-g76h

n8n's HTTP Request node does not validate a pagination parameter, so a user who can create or edit workflows can pollute the global JavaScript object prototype. Combined with other techniques this can reach remote code execution on the n8n instance. Fixed in n8n 1.123.43, 2.20.7 and 2.22.1.

Published May 14, 2026 · Updated Jul 20, 2026 · Analysis Oct 27, 2026

What an attacker can do

Prototype pollution means attacker-chosen keys are written onto Object.prototype, so every object in the n8n process inherits them. Here the entry point is a pagination setting of the HTTP Request node that is not validated. The advisory does not name the parameter and does not describe the follow-on techniques. It says only that pollution plus other techniques can lead to RCE.

The attacker must be authenticated and allowed to create or modify workflows. No user interaction is needed. The CVSS 3.1 vector has a changed scope, which reflects that code running in the n8n process reaches beyond the workflow sandbox: stored credentials for connected services, the database, and the host. On shared instances where many people build workflows, one low-privilege account can become a full compromise of the server. On a single-user instance the risk is lower, because the author already has broad power.

Who is affected

n8n on npm below 1.123.43, from 2.0.0-rc.0 up to but not including 2.20.7, and from 2.21.0 up to but not including 2.22.1. Instances where more than one person can edit workflows matter most. Check the version:

npm ls n8n

For Docker installs, run n8n --version inside the container, or read the version in the editor's About dialog.

n8n

Ecosystem
npm
Affected
< 1.123.43
Fixed in
1.123.43
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.21.0, < 2.22.1
Fixed in
2.22.1
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.0.0-rc.0, < 2.20.7
Fixed in
2.20.7
Check
npm ls n8n

How to fix it

Upgrade to 1.123.43, 2.20.7 or 2.22.1, or later, depending on your release line. For example:

npm install -g [email protected]

The advisory gives two stopgaps, and says they do not fully remove the risk. Limit workflow creation and editing to fully trusted users. Or add n8n-nodes-base.httpRequest to the NODES_EXCLUDE environment variable, which disables the HTTP Request node.

How to tell if you were hit

The advisory lists no log signature. Review workflows that use the HTTP Request node with pagination enabled, especially ones created or edited recently by accounts that normally do not build workflows. Look in the pagination options for keys such as __proto__ or constructor. Check execution history for unexpected runs, and the host for new processes or outbound connections from the n8n process. If you suspect abuse, rotate the credentials stored in n8n.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

An authenticated user with permission to create or modify workflows could achieve global prototype pollution via an unvalidated pagination parameter in the HTTP Request node. Combined with other techniques this could lead to RCE on the instance.

Patches

The issue has been fixed in n8n versions 1.123.43, 2.20.7, and 2.22.1. 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:

  • Limit workflow creation and editing permissions to fully trusted users only.
  • Disable the HTTP Request node by adding n8n-nodes-base.httpRequest to the NODES_EXCLUDE environment variable.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

--- n8n has adopted CVSS 4.0 as primary score for all security advisories. CVSS 3.1 vector strings are provided for backwards compatibility.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Credited to sm1ee.

Questions

Does CVE-2026-44789 need a login?

Yes. The attacker must be authenticated and have permission to create or modify workflows. The CVSS vector requires low privileges and no user interaction.

Which n8n versions fix it?

1.123.43, 2.20.7 and 2.22.1. Pick the one on your release line, or any later version.

Can I mitigate without upgrading?

Partly. Restrict workflow editing to trusted users or add n8n-nodes-base.httpRequest to NODES_EXCLUDE. The advisory warns that neither fully removes the risk.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More n8n vulnerabilities

All n8n entries