n8n: known vulnerabilities and the safe version
The version to be on
Version 2.38.2 or later fixes every vulnerability on this page that has a recorded fix.
Upgrade n8n with npm
npm install n8n@2.38.2
npm ls n8nCheck the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.
Watch n8n
Get an email only when n8n has a new vulnerability record. Unsubscribe with one click.
Badge for your README
Shows the number of known critical and high vulnerabilities in n8n and the version that fixes them. It updates by itself.
Markdown
[](https://securityelites.com/ai-vulnerabilities/package/n8n/)All records
- n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource SubstitutionMedium · CVE-2026-86073 · fixed in 2.38.1 · 11 Sep 2026
- n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched ContentMedium · CVE-2026-86074 · fixed in 2.38.2 · 11 Sep 2026
- n8n: Git Node branch..remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository ReadMedium · CVE-2026-86995 · fixed in 2.38.2 · 11 Sep 2026
- n8n: Cross-Tenant Project-Member PII Disclosure via Missing Per-Project Scope Check on Role Assignment Endp…Medium · CVE-2026-86085 · fixed in 2.38.2 · 11 Sep 2026
- n8n: Log Streaming Event Destinations Decrypt Generic-Auth Credentials Without Ownership CheckMedium · CVE-2026-86993 · fixed in 2.38.2 · 11 Sep 2026
- n8n: Disabled OIDC SSO Endpoints Remain Active and Issue Valid SessionsMedium · CVE-2026-86084 · fixed in 2.38.2 · 11 Sep 2026
- n8n: GitHub Trigger 422 Reuse Path Skips Webhook Secret Storage, Causing Signature Verification to Fail-OpenMedium · CVE-2026-86080 · fixed in 2.38.2 · 11 Sep 2026
- n8n: Path Injection in Elasticsearch and ElasticSecurity Nodes via Unencoded IdentifiersMedium · CVE-2026-86079 · fixed in 2.38.2 · 11 Sep 2026
- n8n: Prototype Pollution via Workflow Structure Summary Can Lead to Denial of ServiceMedium · CVE-2026-86078 · fixed in 2.38.2 · 11 Sep 2026
- n8n: Cross-User Active Workflow ID and Lifecycle Event Disclosure via Missing userId FilterMedium · CVE-2026-86994 · fixed in 2.38.2 · 11 Sep 2026
- n8n legacy expression engine allows code execution via JSON.stringify overrideHigh · CVE-2026-86083 · fixed in 2.38.2 · 11 Sep 2026
- n8n: Anonymous Approval-Gate Bypass via Reused resumeToken over the Chat WebSocketMedium · CVE-2026-86077 · fixed in 2.38.2 · 11 Sep 2026
- n8n OpenAI node bypasses domain restrictions on model searchHigh · CVE-2026-86082 · fixed in 2.38.2 · 10 Sep 2026
- n8n Git node can freeze the instance with a crafted pathHigh · CVE-2026-86081 · fixed in 2.38.2 · 10 Sep 2026
- n8n OAuth registration accepts unlimited field sizes, filling the databaseHigh · CVE-2026-86075 · fixed in 2.38.2 · 10 Sep 2026
- n8n expression compiler can run arbitrary code through class field namesHigh · CVE-2026-86076 · fixed in 2.38.2 · 10 Sep 2026
- n8n: Agent Workflow Tool Bypasses Sub-Workflow Caller PolicyMedium · CVE-2026-86996 · fixed in 2.38.2 · 9 Sep 2026
- n8n: Snowflake Node executeQuery Operation Allows SQL Injection via Unparameterized Expression InterpolationMedium · CVE-2026-72750 · fixed in 2.32.1 · 23 Jul 2026
- n8n: PostgresTrigger Node SQL Injection Allows Authenticated Users to Execute Arbitrary SQL on Connected Po…Medium · CVE-2026-72775 · fixed in 2.32.1 · 23 Jul 2026
- n8n: Cross-Tenant Module-Cache Poisoning in the JS Task RunnerMedium · CVE-2026-72764 · fixed in 2.32.1 · 23 Jul 2026
- n8n: Custom Header Credential Values Leaked in Plaintext into LLM Node Execution DataMedium · CVE-2026-65589 · fixed in 2.30.1 · 23 Jul 2026
- n8n: Unauthenticated Endpoint Allows Cancellation of Any User's Active Test WebhookMedium · CVE-2026-65014 · fixed in 2.27.4 · 23 Jul 2026
- n8n: GraphQL Node Bypasses "Allowed HTTP Request Domains" RestrictionMedium · CVE-2026-65596 · fixed in 2.30.1 · 23 Jul 2026
- n8n: Member-Level Users Can Execute Other Users' MCP Server Trigger Workflows via Missing OAuth Authorizati…Medium · CVE-2026-65594 · fixed in 2.30.1 · 23 Jul 2026
- n8n: computer-use Shell Sandbox Not Enforced on Linux and WindowsMedium · CVE-2026-65590 · fixed in 2.30.1 · 23 Jul 2026
- n8n: Authenticated Users Can Exhaust Temporary Disk Storage via Data-Table File UploadsMedium · CVE-2026-58661 · fixed in 2.28.0 · 23 Jul 2026
- n8n: Improper Authorization Allows Authenticated Users to Assign Workflows to Folders in Other ProjectsMedium · CVE-2026-59253 · fixed in 2.28.0 · 23 Jul 2026
- n8n: External Secrets Accessible via Workflow Expressions Outside CredentialsMedium · CVE-2026-59254 · fixed in 2.28.1 · 23 Jul 2026
- n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression InterpolationMedium · CVE-2026-59257 · fixed in 2.28.1 · 23 Jul 2026
- n8n: External Secrets Permission Bypass via Expression Parser MismatchMedium · CVE-2026-59259 · fixed in 2.28.1 · 23 Jul 2026
- n8n: Path-Confinement Bypass in computer-use search_files Allows Reading Files Outside the Base DirectoryMedium · CVE-2026-72773 · fixed in 2.32.1 · 23 Jul 2026
- n8n: Prototype Pollution via VM Expression Engine Sandbox Escape Leads to Denial of ServiceMedium · CVE-2026-72769 · fixed in 2.32.1 · 23 Jul 2026
- n8n Edit Fields node can crash the whole instance with a bad field nameHigh · CVE-2026-72749 · fixed in 2.32.1 · 23 Jul 2026
- n8n Edit Image node can write files outside its working directoryHigh · CVE-2026-72762 · fixed in 2.32.1 · 23 Jul 2026
- n8n workflow editor can access credentials they should not via sub-workflowHigh · CVE-2026-72763 · fixed in 2.32.1 · 23 Jul 2026
- n8n workflow member can use other users' credentials via HTTP Request nodeHigh · CVE-2026-72774 · fixed in 2.32.1 · 23 Jul 2026
- n8n workflow expressions can run system commands on the hostHigh · CVE-2026-72765 · fixed in 2.32.1 · 23 Jul 2026
- n8n Send Email node treats non-string input as file path, leaks local filesHigh · CVE-2026-72766 · fixed in 2.32.1 · 23 Jul 2026
- n8n Git node allows authenticated users to run arbitrary codeHigh · CVE-2026-72767 · fixed in 2.32.1 · 23 Jul 2026
- n8n: SSRF Protection Bypass via MCP Client NodeMedium · CVE-2026-72768 · fixed in 2.32.1 · 23 Jul 2026
- n8n Git node can read files outside its sandboxHigh · CVE-2026-72770 · fixed in 2.32.1 · 23 Jul 2026
- n8n AI nodes bypass credential domain allowlist, leak secrets to attackersHigh · CVE-2026-72771 · fixed in 2.32.1 · 23 Jul 2026
- n8n embed login does not check user role or email verificationHigh · CVE-2026-72772 · fixed in 2.32.1 · 23 Jul 2026
- n8n SSO instance-role provisioning allows privilege escalation to ownerHigh · CVE-2026-65016 · fixed in 2.30.1 · 23 Jul 2026
- n8n workflow expressions can run code with full server accessHigh · CVE-2026-65591 · fixed in 2.30.1 · 23 Jul 2026
- n8n: Authenticated SSRF via Dynamic Node Parameters Endpoints Allows Internal Network AccessMedium · CVE-2026-65593 · fixed in 2.30.1 · 23 Jul 2026
- n8n Token Exchange gives admin API access to low-privilege usersHigh · CVE-2026-65595 · fixed in 2.30.1 · 23 Jul 2026
- n8n confuses user accounts when multiple token issuers are trustedHigh · CVE-2026-59208 · fixed in 2.28.1 · 23 Jul 2026
- n8n AI Agents can send credential secrets to unauthorized domainsHigh · CVE-2026-59207 · fixed in 2.28.1 · 23 Jul 2026
- n8n workflow API allows authenticated users to bypass authentication and expose all accountsHigh · CVE-2026-59206 · fixed in 2.28.1 · 23 Jul 2026
- n8n: Shared Credential Header Leak via HTTP Request Pagination ExpressionHigh · CVE-2026-59209 · fixed in 2.28.1 · 23 Jul 2026
- n8n: Google Service Account Private Key Exposed in JWT HeaderMedium · CVE-2026-65599 · fixed in 2.30.1 · 22 Jul 2026
- n8n: Stored DOM XSS via Resource Locator `cachedResultUrl`High · CVE-2026-65592 · fixed in 2.30.1 · 22 Jul 2026
- n8n: DOM-Based XSS via Unsandboxed iframe srcdoc in HTML PreviewHigh · CVE-2026-65597 · fixed in 2.30.1 · 22 Jul 2026
- n8n: Race Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code ExecutionHigh · CVE-2026-65598 · fixed in 2.30.1 · 22 Jul 2026
- n8n: AI Agents Project Viewer Privilege Escalation via run_node_toolHigh · CVE-2026-65015 · fixed in 2.30.1 · 22 Jul 2026
- n8n: Wrong OAuth Scope on Evaluation Test Runs EndpointsMedium · CVE-2026-56775 · fixed in 2.26.2 · 17 Jun 2026
- n8n: SecurityScorecard Node Leaks API Token to User-Controlled HostHigh · CVE-2026-54304 · fixed in 2.26.1 · 17 Jun 2026
- n8n: MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control SessionsHigh · CVE-2026-54309 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Cross-Tenant Credential Takeover via Dynamic Credentials EE EndpointsHigh · CVE-2026-54305 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Credential Exfiltration via Permission BypassHigh · CVE-2026-54307 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Denial of Service via ZIP decompression in webhook workflowMedium · CVE-2026-54314 · fixed in 2.24.0 · 17 Jun 2026
- n8n: Public API Execution Retry Authorization BypassMedium · CVE-2026-56778 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Python Code Node AST Validator BypassMedium · CVE-2026-56777 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Stored XSS in Chat Trigger NodeHigh · CVE-2026-54302 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Reflected XSS via Facebook, WhatsApp, and Microsoft Teams Trigger Webhook Verification EndpointsMedium · CVE-2026-54303 · fixed in 2.24.0 · 17 Jun 2026
- n8n: Microsoft SQL Node Prototype PollutionHigh · CVE-2026-54312 · fixed in 2.24.0 · 17 Jun 2026
- n8n: Merge Node SQL Mode Prototype PollutionMedium · CVE-2026-54311 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Prototype Pollution enables confused-deputy execution via public webhooksMedium · CVE-2026-54306 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Same-Origin XSS in Respond to Webhook NodeHigh · CVE-2026-54301 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Missing Token Validation on Microsoft Agent 365 Trigger and Stripe NodesMedium · CVE-2026-54308 · fixed in 2.26.2 · 17 Jun 2026
- n8n: Wrong OAuth Scope On Evaluations Test Run Creation EndpointMedium · CVE-2026-56776 · fixed in 2.26.2 · 17 Jun 2026
- n8n: NoSQL Injection in MongoDB Node Find And Replace OperationMedium · CVE-2026-54313 · fixed in 2.24.0 · 17 Jun 2026
- n8n: SQL Injection in Postgres v1/TimesclaeDB NodesMedium · CVE-2026-54310 · fixed in 2.26.2 · 16 Jun 2026
- n8n: Git Node Clone and Push Operations Bypass File SandboxMedium · CVE-2026-49465 · fixed in 2.22.4 · 16 Jun 2026
- n8n: Python sandbox escapeHigh · CVE-2026-49444 · fixed in 2.22.4 · 16 Jun 2026
- n8n: Credential exfiltration via Allowed HTTP Request Domains BypassMedium · CVE-2026-56348 · fixed in 2.20.0 · 19 May 2026
- n8n: Legacy ExecuteWorkflow Node Bypassed File Path RestrictionsMedium · CVE-2026-56352 · fixed in 2.19.3 · 19 May 2026
- n8n Has a Cross-user Authorization Bypass in Dynamic Credential OAuth EndpointsHigh · CVE-2026-45732 · fixed in 2.21.1 · 14 May 2026
- n8n Has a Source Control Pull SQL InjectionHigh · CVE-2026-44792 · fixed in 2.21.1 · 14 May 2026
- n8n XML node remote code execution via workflow modificationCritical · CVE-2026-44791 · fixed in 2.22.1 · 14 May 2026
- n8n Git node allows reading arbitrary files from the serverCritical · CVE-2026-44790 · fixed in 2.22.1 · 14 May 2026
- n8n workflow editor can run code on the whole serverCritical · CVE-2026-44789 · fixed in 2.22.1 · 14 May 2026
- n8n XML Node allows authenticated users to run arbitrary codeCritical · CVE-2026-42232 · fixed in 2.18.1 · 30 Apr 2026
- n8n webhook XML parser allows code execution on the serverCritical · CVE-2026-42231 · fixed in 2.18.1 · 30 Apr 2026
- n8n Vulnerable to XSS via MCP OAuth clientHigh · CVE-2026-42235 · fixed in 2.18.1 · 30 Apr 2026
- n8n's Credential Authorization Bypass in dynamic-node-parameters Allows Foreign API Key ReplayHigh · CVE-2026-42226 · fixed in 2.17.5 · 30 Apr 2026
- n8n has a Python Task Runner Sandbox Escape VulnerabilityHigh · CVE-2026-42234 · fixed in 2.18.1 · 30 Apr 2026
- n8n has Public API Variables IDOR that Allows Cross-Project Secret DisclosureMedium · CVE-2026-42227 · fixed in 2.18.1 · 30 Apr 2026
- n8n Vulnerable to Unauthenticated Denial of Service via MCP Client RegistrationHigh · CVE-2026-42236 · fixed in 2.18.1 · 30 Apr 2026
- n8n Vulnerable to Hijacking of Unauthenticated Chat ExecutionMedium · CVE-2026-42228 · fixed in 2.18.1 · 30 Apr 2026
- n8n has SQL Injection in SeaTable NodeMedium · CVE-2026-42229 · fixed in 2.18.1 · 30 Apr 2026
- n8n has Open Redirect in MCP OAuth Consent FlowMedium · CVE-2026-42230 · fixed in 2.18.1 · 30 Apr 2026
- n8n has SQL Injection in Oracle Database Node via Limit FieldMedium · CVE-2026-42233 · fixed in 2.18.1 · 30 Apr 2026
- n8n has SQL Injection in Snowflake and MySQL NodesMedium · CVE-2026-42237 · fixed in 2.18.1 · 30 Apr 2026
- n8n has XSS in its Credential Management FlowMedium · CVE-2026-56359 · fixed in 2.8.0 · 27 Mar 2026
- n8n has XSS in Chat Trigger Node through Custom CSSMedium · CVE-2026-56356 · fixed in 2.14.1 · 27 Mar 2026
- n8n: Authenticated XSS and Open Redirect via Form NodeMedium · CVE-2026-56354 · fixed in 2.12.0 · 27 Mar 2026
- n8n has a Stored XSS Vulnerability in its Form TriggerMedium · CVE-2026-56358 · fixed in 2.11.2 · 27 Mar 2026
- n8n Vulnerable to LDAP Filter Injection in LDAP NodeMedium · CVE-2026-33751 · fixed in 2.14.1 · 27 Mar 2026