2.32.5
7 years ago
4 days ago
Known vulnerabilities in the n8n package. This does not include vulnerabilities belonging to this package’s dependencies.
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| Vulnerability | Vulnerable Version |
|---|---|
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization via the Note: This is only exploitable if the attacker knows the identifier of the target credential. How to fix Incorrect Authorization? Upgrade | <1.123.67>=2.0.0-rc.0 <2.31.5>=2.32.0 <2.32.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the HTML preview, which renders execution output into an Note: This is only exploitable if a user with How to fix Cross-site Scripting (XSS)? Upgrade | <1.123.64>=2.0.0-rc.0 <2.29.8>=2.30.0 <2.30.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the Resource Locator component when the How to fix Cross-site Scripting (XSS)? Upgrade | <1.123.64>=2.0.0-rc.0 <2.29.8>=2.30.0 <2.30.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File in the process that handles HTTP header credentials in LLM sub-node execution data. An attacker can obtain sensitive API keys and secrets by accessing workflow execution records where these credentials are stored in plaintext. Note: This is only exploitable if an authenticated user has access to execution data that includes unmasked header values. How to fix Insertion of Sensitive Information into Log File? Upgrade | <1.123.64>=2.0.0-rc.0 <2.29.8>=2.30.0 <2.30.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Missing Authentication for Critical Function via the How to fix Missing Authentication for Critical Function? Upgrade | <2.27.4 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the How to fix Incorrect Authorization? Upgrade | <2.29.8>=2.30.0 <2.31.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the authentication when the embed login feature is enabled and at least one trusted key source is configured. An attacker can gain unauthorized access to any existing user account by presenting a validly-signed token with an unverified email claim from a trusted issuer. Note: This is only exploitable if the embed login feature is enabled and at least one trusted key source is configured. How to fix Incorrect Authorization? Upgrade | <2.31.5>=2.32.0 <2.32.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the process that handles credential domain restrictions when user-supplied base or endpoint URLs are set. An attacker can exfiltrate credential secrets by configuring affected nodes to send secrets to an attacker-controlled host. Note: This is only exploitable if a credential has domain restrictions configured and is shared with non-owner users. How to fix Incorrect Authorization? Upgrade | <2.31.5>=2.32.0 <2.32.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key in the SSO instance-role provisioning. An attacker can gain full administrative privileges by manipulating the instance-role claim issued by the Identity Provider (IdP) during authentication. Note: This is only exploitable if Enterprise SSO is configured, instance-role provisioning is enabled via the How to fix Authorization Bypass Through User-Controlled Key? Upgrade | <1.123.64>=2.0.0-rc.0 <2.29.8>=2.30.0 <2.30.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the Note: This is only exploitable if the instance is multi-user and the JS task runner is configured with built-in or external modules enabled. How to fix Incorrect Authorization? Upgrade | <1.123.67>=2.0.0-rc.0 <2.31.5>=2.32.0 <2.32.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') via the legacy expression evaluator's computed-member sanitizer. An attacker can achieve host-level code execution by bypassing input sanitization as an authenticated user with workflow create or modify permissions. Note: This is only exploitable if the legacy expression engine is enabled as the default engine. How to fix Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')? Upgrade | <1.123.64>=2.0.0-rc.0 <2.29.8>=2.30.0 <2.30.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the Token Exchange process. An attacker can gain elevated privileges and execute arbitrary code by obtaining a valid external JWT accepted by a configured trusted key, which allows invoking administrator-only Public API operations such as role escalation, user creation, and user deletion. Note: This is only exploitable if both the Token Exchange feature and the Public API are enabled, and the attacker can obtain an external JWT trusted by a configured issuer. Role escalation additionally requires an Advanced Permissions license; Community Package installation additionally requires both How to fix Incorrect Authorization? Upgrade | <2.29.8>=2.30.0 <2.30.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the Note: This is only exploitable if SSRF protection is disabled ( How to fix Server-side Request Forgery (SSRF)? Upgrade | <1.123.64>=2.0.0-rc.0 <2.29.8>=2.30.0 <2.30.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via a mismatch between static validation and the runtime expression engine in external secrets handling. An attacker can access unauthorized secret values by embedding external secret references into credentials that bypass static validation, which are then resolved during workflow execution. Note: This is only exploitable if an external secrets provider is configured and Advanced Permissions are enabled. How to fix Authorization Bypass Through User-Controlled Key? Upgrade | <1.123.61>=2.0.0 <2.27.4>=2.28.0 <2.28.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Improper Restriction of Communication Channel to Intended Endpoints via the AI Agents MCP verifier in Notes
Workarounds
How to fix Improper Restriction of Communication Channel to Intended Endpoints? Upgrade | <2.27.4>=2.28.0 <2.28.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to User Impersonation via the token-exchange identity-resolution service in Notes
Workarounds
How to fix User Impersonation? Upgrade | <2.27.4>=2.28.0 <2.28.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the Notes
Workarounds
How to fix Allocation of Resources Without Limits or Throttling? Upgrade | <1.123.58>=2.0.0-rc.0 <2.28.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Cross-site Scripting (XSS) n the credential management flow, where the Authorization URL field of an OAuth2 credential accepts a How to fix Cross-site Scripting (XSS)? Upgrade | <2.6.4>=2.7.0 <2.8.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the evaluations test run creation endpoint ( How to fix Incorrect Authorization? Upgrade | <1.123.55>=2.0.0 <2.25.7>=2.26.0 <2.26.2 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to SQL Injection in the MySQL v1 node's How to fix SQL Injection? Upgrade | <1.123.61>=2.0.0 <2.27.4>=2.28.0 <2.28.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the evaluation test runs controller, where three state-changing endpoints authorize actions against the How to fix Incorrect Authorization? Upgrade | <1.123.55>=2.0.0 <2.25.7>=2.26.0 <2.26.2 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to User Impersonation in the How to fix User Impersonation? Upgrade | <1.123.18>=2.0.0 <2.6.2 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the Public API execution retry endpoint, which authorizes the request against the How to fix Incorrect Authorization? Upgrade | <2.25.7>=2.26.0 <2.26.2 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in workflow creation folder assignment, which does not verify that the requested target folder belongs to a project the requester is allowed to access. A user with workflow creation permission in one project can associate a newly created workflow with a folder belonging to a different project they cannot access by submitting a crafted creation request. Exploitation requires multi-project and folder support to be enabled, and the impact is confined to a logical integrity violation of the target project's folder structure at the database level, since the workflow stays in the requester's project, remains invisible to the target project, and exposes no target project data. How to fix Incorrect Authorization? Upgrade | <2.28.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Arbitrary Code Execution in the Python Code node, exploitable when the Python Task Runner is enabled. A user with permission to create or modify workflows can execute arbitrary code on the task runner container by escaping the sandbox from within a Python Code node. Exploitation requires an authenticated user with workflow edit permission and a self-hosted instance running the Python Task Runner. How to fix Arbitrary Code Execution? Upgrade | <1.123.48>=2.0.0-rc.0 <2.21.8>=2.22.0 <2.22.4 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs for the Python Code node when the Python Task Runner is enabled. A user with permission to create or modify workflows can evade the validator and reach the task executor module namespace by authoring Python in that node, and on instances configured with How to fix Incomplete List of Disallowed Inputs? Upgrade | <2.25.7>=2.26.0 <2.26.2 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Cross-site Scripting (XSS) through the Workarounds
How to fix Cross-site Scripting (XSS)? Upgrade | <1.123.55>=2.0.0-rc.0 <2.25.7>=2.26.0 <2.26.2 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the shared workflows. An attacker can gain unauthorized access to credentials belonging to other users by exploiting insufficient ownership checks via specific public API endpoints. How to fix Incorrect Authorization? Upgrade | <1.123.55>=2.0.0-rc.0 <2.25.7>=2.26.0 <2.26.2 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the OAuth1 and OAuth2 credential reconnect endpoints. A user with readonly access to shared credentials can overwrite stored OAuth token material for the shared credentials by initiating a reconnect flow with an external account they control, causing workflows to execute under the attacker's OAuth identity and enabling data exfiltration to attacker-controlled external services and persistent takeover of shared integrations. How to fix Authorization Bypass Through User-Controlled Key? Upgrade | <1.123.43>=2.0.0-rc.0 <2.20.7-exp.0>=2.21.0 <2.21.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Prototype Pollution via the How to fix Prototype Pollution? Upgrade | <1.123.32>=2.0.0-rc.0 <2.17.4>=2.18.0 <2.18.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the MCP OAuth client registration process. An attacker can exhaust server memory resources and render the instance unavailable by sending large unauthenticated registration payloads to the endpoint, which accepts requests regardless of MCP access settings. How to fix Allocation of Resources Without Limits or Throttling? A fix was pushed into the | * |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Missing Authorization via the How to fix Missing Authorization? Upgrade | <1.123.33>=2.0.0-rc.0 <2.17.5 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Missing Authorization via the Note: This is only exploitable if the Hosted Chat workflow is publicly exposed with authentication set to How to fix Missing Authorization? Upgrade | <1.123.32>=2.0.0-rc.0 <2.17.4>=2.18.0 <2.18.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the How to fix Cross-site Scripting (XSS)? Upgrade | <1.123.27>=2.0.0-rc.0 <2.13.3>=2.14.0 <2.14.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Prototype Pollution via the How to fix Prototype Pollution? Upgrade | <1.123.27>=2.0.0-rc.0 <2.13.3>=2.14.0 <2.14.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to SQL Injection in the Note: This is only exploitable if the Data Table node is enabled. How to fix SQL Injection? Upgrade | <1.123.27>=2.0.0-rc.0 <2.13.3>=2.14.0 <2.14.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Arbitrary Code Injection via the How to fix Arbitrary Code Injection? Upgrade | <1.123.27>=2.0.0-rc.0 <2.13.3>=2.14.0 <2.14.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization when saving credentials. An authenticated user can access plaintext values of secrets stored in external vaults by referencing a secret's external name in a credential, bypassing intended permission checks. Note: This is only exploitable if an external secrets vault is configured and the attacker knows or can guess the name of a target secret. How to fix Incorrect Authorization? Upgrade | <1.123.23>=2.0.0-rc.0 <2.6.4 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key in the Source Control feature when configured to use SSH, as the SSH command disables host key verification. An attacker can intercept repository data or inject malicious content by performing a man-in-the-middle attack between the affected instance and the remote Git server. How to fix Authorization Bypass Through User-Controlled Key? Upgrade | <2.5.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to User Impersonation in the account linking when LDAP authentication is enabled. An attacker can gain unauthorized access to another user's account, including administrative accounts, by setting their LDAP email attribute to match the target user's email. This linkage persists even if the LDAP email is later changed, resulting in permanent unauthorized access. How to fix User Impersonation? Upgrade | <1.121.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Incorrect Authorization in the OAuth callback when the How to fix Incorrect Authorization? Upgrade | <2.6.4>=2.7.0 <2.7.3 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Credential Management Flow when a crafted OAuth2 credential contains a JavaScript URL in the Authorization URL field. An attacker can execute arbitrary scripts in the victim's browser session by convincing an authenticated user with permission to create and share credentials to interact with the OAuth authorization button. How to fix Cross-site Scripting (XSS)? Upgrade | <2.6.4>=2.7.0 <2.8.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Improper Authentication via the Self-Service Settings API. An attacker can circumvent centralized identity management and multi-factor authentication by disabling SSO enforcement for their own account and creating local credentials after authenticating through SSO. How to fix Improper Authentication? Upgrade | <2.8.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Command Injection in the community package installation functionality. An attacker can execute arbitrary system commands by supplying crafted input as an authenticated user with administrative permissions. Note: This is only exploitable if the attacker has administrative access to the instance and is permitted to install third-party community packages. How to fix Command Injection? Upgrade | >=0.187.0 <1.119.2>=1.120.0 <1.120.3 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the
How to fix Cross-site Scripting (XSS)? Upgrade | <1.114.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Command Injection via the Note: This is only exploitable if the This issue does not impact 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 How to fix Command Injection? There is no fixed version for | >=0.0.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Missing Authorization over the How to fix Missing Authorization? Upgrade | <1.99.1 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Uncaught Exception via the How to fix Uncaught Exception? Upgrade | <1.99.0 |
n8n is a n8n Workflow Automation Tool Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via a lack of MIME type validation on uploaded binary files, which can be controlled through a GET parameter. This allows an authenticated attacker with member-level privileges to upload a crafted HTML file containing malicious code. If another authenticated user visits the binary data endpoint with the MIME type specified as How to fix Cross-site Scripting (XSS)? Upgrade | <1.90.0 |