n8n-nodes-base@0.119.1

Base nodes of n8n

Direct Vulnerabilities

Known vulnerabilities in the n8n-nodes-base package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • M
LDAP Injection

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to LDAP Injection via the LDAP node's filter escape. An attacker can retrieve unauthorized LDAP records or bypass authentication checks by injecting specially crafted input into LDAP search parameters.

Note: This is only exploitable if the workflow is configured to pass external user input via expressions into the LDAP node's search parameters.

How to fix LDAP Injection?

Upgrade n8n-nodes-base to version 1.121.19, 2.13.1, 2.14.1 or higher.

<1.121.19>=2.13.0 <2.13.1>=2.14.0 <2.14.1
  • M
Open Redirect

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Open Redirect via the Form Node when an authenticated user with workflow creation or modification permissions configures an unsanitized HTML description field or leverages an overly permissive iframe sandbox policy. An attacker can inject malicious scripts or redirect end users to arbitrary external URLs by crafting a specially designed form, potentially facilitating phishing attacks.

How to fix Open Redirect?

Upgrade n8n-nodes-base to version 1.121.17, 2.10.2, 2.11.2 or higher.

<1.121.17>=2.10.0 <2.10.2>=2.11.0 <2.11.2
  • H
Prototype Pollution

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Prototype Pollution via the GSuiteAdmin node parameter. An attacker with permissions to create or modify workflows can execute arbitrary code by supplying crafted parameters that pollute Object.prototype during workflow creation or modification.

How to fix Prototype Pollution?

Upgrade n8n-nodes-base to version 1.121.19, 2.13.1, 2.14.1 or higher.

<1.121.19>=2.13.0 <2.13.1>=2.14.0 <2.14.1
  • H
SQL Injection

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to SQL Injection in the orderByColumn expression of the Data Table Get node. An attacker with permissions to create or modify workflows can execute arbitrary SQL commands by supplying crafted input, potentially leading to unauthorized data access, modification, or deletion.

Note: This is only exploitable if the Data Table node is enabled.

How to fix SQL Injection?

Upgrade n8n-nodes-base to version 1.121.19, 2.13.1, 2.14.1 or higher.

<1.121.19>=2.13.0 <2.13.1>=2.14.0 <2.14.1
  • H
Authorization Bypass Through User-Controlled Key

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the credential resolution and permission check. An attacker can access and decrypt plaintext secrets belonging to other users by exploiting chained authorization flaws that bypass ownership and project scope checks.

Note: This is only exploitable if the instance is running the Community Edition and the attacker has the global:member role.

How to fix Authorization Bypass Through User-Controlled Key?

Upgrade n8n-nodes-base to version 1.121.19, 2.13.1, 2.14.1 or higher.

<1.121.19>=2.13.0 <2.13.1>=2.14.0 <2.14.1
  • M
Cross-site Scripting (XSS)

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Form Trigger node. An attacker can execute arbitrary scripts in the context of users visiting a published form by injecting malicious payloads, potentially leading to form submission hijacking and phishing attacks.

Note: The existing Content Security Policy prevents direct session cookie theft but does not stop script execution or manipulation of form actions.

How to fix Cross-site Scripting (XSS)?

Upgrade n8n-nodes-base to version 1.121.18, 2.11.2 or higher.

<1.121.18>=2.0.0-rc.0 <2.11.2
  • M
User Impersonation

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to User Impersonation via the ZendeskTrigger component. An attacker can inject arbitrary data into workflows by sending unsigned POST requests to the webhook endpoint.

How to fix User Impersonation?

Upgrade n8n-nodes-base to version 1.121.12, 2.4.6, 2.6.1 or higher.

<1.121.12>=2.0.0 <2.4.6>=2.6.0 <2.6.1
  • M
SQL Injection

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to SQL Injection via the MySQL, PostgreSQL, and Microsoft SQL nodes due to improper escaping of identifier values. An attacker can execute arbitrary SQL commands by supplying specially crafted table or column names through node configuration parameters.

How to fix SQL Injection?

Upgrade n8n-nodes-base to version 2.4.0 or higher.

<2.4.0
  • M
User Impersonation

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to User Impersonation via the GitHub Webhook Trigger component. An attacker can trigger unauthorized workflow executions by sending unsigned POST requests to the webhook endpoint, thereby injecting arbitrary data into the workflow.

How to fix User Impersonation?

Upgrade n8n-nodes-base to version 1.121.9, 2.5.0 or higher.

<1.121.9>=2.0.0 <2.5.0
  • H
Cross-site Scripting (XSS)

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the workflow creation and editing process in various nodes, including Form Trigger, Chat Trigger, Send & Wait, Webhook, and Chat nodes. An attacker can execute arbitrary scripts in the browsers of users who visit affected pages by injecting malicious payloads, potentially leading to session hijacking and account takeover.

How to fix Cross-site Scripting (XSS)?

Upgrade n8n-nodes-base to version 1.121.15, 2.9.1, 2.10.1 or higher.

<1.121.15>=2.0.0 <2.9.1>=2.10.0 <2.10.1
  • C
Eval Injection

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Eval Injection. An attacker can execute arbitrary code on the host system by submitting specially crafted form data that is interpreted as an expression.

Note:

This is only exploitable if a workflow contains a form node with a field that interpolates unauthenticated user input and the field value begins with an '=' character, causing double evaluation of the content.

How to fix Eval Injection?

Upgrade n8n-nodes-base to version 1.121.15, 2.9.1, 2.10.1 or higher.

<1.121.15>=2.0.0 <2.9.1>=2.10.0 <2.10.1
  • H
Exposure of Sensitive System Information to an Unauthorized Control Sphere

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere due to insufficient restrictions in the Python Code node sandbox. An attacker can access sensitive files or execute arbitrary code by escaping the sandbox environment.

How to fix Exposure of Sensitive System Information to an Unauthorized Control Sphere?

Upgrade n8n-nodes-base to version 2.7.0 or higher.

<2.7.0
  • C
Arbitrary Code Injection

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Arbitrary Code Injection via the Merge node's SQL query mode. An attacker can execute arbitrary code and write arbitrary files on the server by crafting malicious workflows after authenticating with permissions to create or modify workflows.

How to fix Arbitrary Code Injection?

Upgrade n8n-nodes-base to version 1.121.15, 2.9.1, 2.10.1 or higher.

<1.121.15>=2.0.0 <2.9.1>=2.10.0 <2.10.1
  • C
Protection Mechanism Failure

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Protection Mechanism Failure via the Python Code node. An attacker can execute arbitrary code outside the intended security boundary by leveraging authenticated access and enabling Task Runners with Python support. This is only exploitable if Task Runners are enabled (N8N_RUNNERS_ENABLED=true), Python support is enabled (N8N_PYTHON_ENABLED=true), and the Code Node is enabled (default: true).

How to fix Protection Mechanism Failure?

Upgrade n8n-nodes-base to version 2.3.0 or higher.

<2.3.0
  • C
Command Injection

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Command Injection via the Git node. An attacker can execute arbitrary system commands or read arbitrary files on the host by creating or modifying workflows as an authenticated user with the necessary permissions.

How to fix Command Injection?

Upgrade n8n-nodes-base to version 1.121.11, 2.5.2 or higher.

<1.121.11>=2.0.0-rc.0 <2.5.2
  • C
Arbitrary File Upload

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Arbitrary File Upload via the Merge node's SQL Query mode. An attacker can write arbitrary files to the server's filesystem and potentially execute remote code by crafting malicious workflows.

Note:

This is only exploitable if the attacker has authenticated access with permissions to create or modify workflows.

How to fix Arbitrary File Upload?

Upgrade n8n-nodes-base to version 1.121.12, 2.4.0 or higher.

<1.121.12>=2.0.0 <2.4.0
  • H
Directory Traversal

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Directory Traversal via the SSH node when workflows process uploaded files and transfer them to remote servers without validating their metadata. An attacker can write files to unintended locations on remote systems and potentially achieve remote code execution by uploading specially crafted files to unauthenticated endpoints.

Note:

This is only exploitable if the attacker has knowledge of such workflows and the endpoints for file uploads are unauthenticated.

How to fix Directory Traversal?

Upgrade n8n-nodes-base to version 1.121.7, 2.3.2 or higher.

<1.121.7>=2.0.0 <2.3.2
  • H
Unsafe Dependency Resolution

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Unsafe Dependency Resolution via the Git Node component. An attacker can execute arbitrary code within the environment by cloning a repository containing a malicious pre-commit hook and triggering the commit operation. This can compromise the system and any connected credentials or workflows.

Note:

This is only exploitable if workflows utilize the Git Node to clone untrusted repositories.

How to fix Unsafe Dependency Resolution?

Upgrade n8n-nodes-base to version 1.111.0 or higher.

<1.111.0
  • H
Command Injection

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Command Injection via the Execute Command node. An attacker can execute arbitrary commands on the host system by leveraging access to an authenticated user account, potentially leading to data exfiltration, service disruption, or full system compromise.

Note:

This is only exploitable if the Execute Command node is enabled and not all user accounts are strictly controlled and trusted.

This issue does not impact n8n.cloud.

As per maintainers' memo: "No code changes have been made to alter the behavior of the Execute Command node. The recommended mitigation is to disable the node by default in environments where it is not explicitly required. Future n8n versions may change the default availability of this node."

##Workaround

This vulnerability can be mitigated by disabling the Execute Command node before n8n start using the environment variable: export NODES_EXCLUDE: "[\"n8n-nodes-base.executeCommand\"]".

How to fix Command Injection?

There is no fixed version for n8n-nodes-base.

>=0.1.0