VulnarioBlogn8n vulnerabilities
n8n Vulnerabilities: The 10 Most Critical n8n Security Bugs (CVEs)
n8n vulnerabilities are security flaws in n8n that attackers can abuse to steal data, take over a server or interrupt a service. n8n is a workflow automation platform that can be self-hosted. The National Vulnerability Database (NVD) lists 179 CVEs for n8n, 30 of them rated critical, and 167 were published in the last 12 months. CISA lists 1 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.
This guide lists the 10 most critical n8n security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers n8n security basics and a free way to be told about the next n8n CVE as soon as it is published.
Key takeaways
- 1 CVE is in CISA's KEV catalog, so attackers have exploited it in the wild.
- 30 n8n CVEs are rated critical (CVSS v3), and 167 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2026-85165, published Sep 3, 2026.
- You can monitor n8n for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these n8n CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical n8n CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2025-68613 | 8.8 High | 2025-12-19 | n8n Improper Control of Dynamically-Managed Code Resources | Yes |
| 2 | CVE-2026-54309 | 10.0 Critical | 2026-06-23 | Missing authentication | No |
| 3 | CVE-2026-21858 | 10.0 Critical | 2026-01-08 | Improper input validation | No |
| 4 | CVE-2026-85165 | 9.9 Critical | 2026-09-03 | Eval injection | No |
| 5 | CVE-2026-72765 | 9.9 Critical | 2026-08-11 | Code injection | No |
| 6 | CVE-2026-54310 | 9.9 Critical | 2026-06-23 | SQL injection | No |
| 7 | CVE-2026-44789 | 9.9 Critical | 2026-06-23 | Prototype pollution | No |
| 8 | CVE-2026-44791 | 9.9 Critical | 2026-06-23 | Prototype pollution | No |
| 9 | CVE-2026-54305 | 9.9 Critical | 2026-06-23 | Information exposure | No |
| 10 | CVE-2026-56348 | 9.9 Critical | 2026-06-22 | Server-side request forgery (SSRF) | No |
Each n8n CVE explained
1. CVE-2025-68613: n8n Improper Control of Dynamically-Managed Code Resources
- What NVD says
- n8n is an open source workflow automation platform. Versions starting with 0.211.0 and prior to 1.120.4, 1.121.1, and 1.122.0 contain a critical Remote Code Execution (RCE) vulnerability in their workflow expression evaluation system.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 0.211.0 to before 1.120.4; 1.121.0
- What to do
- Upgrade to 1.120.4 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2026-54309: Missing authentication
- What NVD says
- n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, when @n8n/mcp-browser is run in HTTP transport mode, the MCP endpoint accepts session initialization and tool invocation requests without any authentication. Any network-reachable client, or any website visited by the user, can establish an MCP session and invoke browser-control tools.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity; limited impact on availability.
- Affected versions
- before 2.25.7; 2.26.0 to before 2.26.2
- What to do
- Upgrade to the fixed release for your branch (2.25.7, 2.26.2) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2026-21858: Improper input validation
- What NVD says
- n8n is an open source workflow automation platform. Versions starting with 1.65.0 and below 1.121.0 enable an attacker to access files on the underlying server through execution of certain form-based workflows.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 1.65.0 to before 1.121.0
- What to do
- Upgrade to 1.121.0 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2026-85165: Eval injection
- What NVD says
- n8n versions before 2.36.2 contain an expression sandbox bypass vulnerability where free identifiers in spread, computed-key, switch-case, or class-extension positions resolve against process globals. Authenticated users with workflow-edit permission can mutate host objects through expression evaluation, with changes persisting process-wide until restart.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.35.4; 2.36.0 through 2.36.2
- What to do
- Upgrade to 2.35.4 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2026-72765: Code injection
- What NVD says
- n8n before 2.31.5 and before 2.32.1 contain a sandbox escape vulnerability in expression evaluation. An authenticated user with permission to create or modify workflows can craft expressions using arrow-function bodies to bypass the expression sandbox, triggering system command execution on the host running n8n. The issue is fixed in versions 2.31.5 and 2.32.1.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 2.31.0 to before 2.31.5; 2.32.0
- What to do
- Upgrade to 2.31.5 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2026-54310: SQL injection
- What NVD says
- n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could supply a crafted parameters to the TimescaleDB and/or legacy Postgres v1 node's allowing arbitrary SQL to be injected and executed against the connected database within the privileges of the configured database account.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.25.7; 2.26.0 to before 2.26.2
- What to do
- Upgrade to the fixed release for your branch (2.25.7, 2.26.2) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
7. CVE-2026-44789: Prototype pollution
- What NVD says
- n8n is an open source workflow automation platform. Prior to 1.123.43, 2.22.1, and 2.20.7, 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. This vulnerability is fixed in 1.123.43, 2.22.1, and 2.20.7.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.123.43; 2.0.0 to before 2.20.7; 2.21.0 to before 2.22.1
- What to do
- Upgrade to the fixed release for your branch (1.123.43, 2.20.7, 2.22.1) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2026-44791: Prototype pollution
- What NVD says
- n8n is an open source workflow automation platform. Prior to 1.123.43, 2.22.1, and 2.20.7, an authenticated user with permission to create or modify workflows could bypass the patch for CVE-2026-42232 in the XML node. When combined with other nodes, this could lead to RCE on the n8n host. This vulnerability is fixed in 1.123.43, 2.22.1, and 2.20.7.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.123.43; 2.0.0 to before 2.20.7; 2.21.0 to before 2.22.1
- What to do
- Upgrade to the fixed release for your branch (1.123.43, 2.20.7, 2.22.1) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
9. CVE-2026-54305: Information exposure
- What NVD says
- n8n is an open source workflow automation platform. Prior to 1.123.55, 2.25.7, and 2.26.2, three EE endpoints used by the Dynamic Credentials feature accepted any authenticated n8n session without performing per-resource ownership or scope checks on the target workflow or credential.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality and integrity; limited impact on availability.
- Affected versions
- before 1.123.55; 2.0.0 to before 2.25.7; 2.26.0 to before 2.26.2
- What to do
- Upgrade to the fixed release for your branch (1.123.55, 2.25.7, 2.26.2) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
10. CVE-2026-56348: Server-side request forgery (SSRF)
- What NVD says
- n8n before 2.20.0 contains a credential exfiltration vulnerability in the POST /rest/dynamic-node-parameters/options endpoint that allows authenticated users to bypass Allowed HTTP Request Domains restrictions. Attackers with credential access can cause the n8n server to issue HTTP requests with credentials to unauthorized hosts, exfiltrating sensitive authentication data.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.20.0
- What to do
- Upgrade to 2.20.0 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
n8n security checklist
- Patch quickly: these tools are usually internet-facing and hold sensitive data.
- Use single sign-on or two-factor authentication.
- Restrict the administration area to trusted networks.
- Serve the application behind a reverse proxy with modern TLS.
- Review installed apps and plugins and keep them updated.
- Back up regularly and test restores.
Your stack is bigger than n8n. A flaw anywhere in the chain can be the way in, so also review our guides to Node.js vulnerabilities, Docker vulnerabilities and PostgreSQL vulnerabilities.
How to get alerted about new n8n vulnerabilities
NVD received 167 new n8n CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose n8n and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run n8n alone. These guides cover the technologies it is most often deployed with.
- Node.js vulnerabilities: Node.js is a JavaScript runtime for building servers and tools.
- Docker vulnerabilities: Docker is the standard tool for building and running containers.
- PostgreSQL vulnerabilities: PostgreSQL is a powerful open-source object-relational database.
- Atlassian Confluence vulnerabilities: Atlassian Confluence is a team wiki and knowledge base.
- Atlassian Jira vulnerabilities: Atlassian Jira is a widely used issue and project tracker.
- Matomo vulnerabilities: Matomo is a self-hosted web analytics platform and Google Analytics alternative.
Frequently asked questions about n8n vulnerabilities
What are the most critical n8n vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical n8n CVEs include CVE-2025-68613 (CVSS 8.8), CVE-2026-54309 (CVSS 10.0), CVE-2026-21858 (CVSS 10.0). The guide above ranks the 10 most critical with affected versions and fixes.
Have n8n vulnerabilities been exploited in real attacks?
Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 1 n8n CVE, including CVE-2025-68613. Treat these as the highest priority to patch.
How many vulnerabilities does n8n have?
As of Nov 3, 2026 the National Vulnerability Database lists 179 CVEs for n8n, with 30 rated critical by CVSS v3. 167 were published in the previous twelve months.
How can I get alerted when a new n8n CVE is published?
Add n8n to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose n8n and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is n8n secure?
n8n is as secure as its patch level. NVD published 167 new n8n CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2025-68613?
CVE-2025-68613 is a high n8n vulnerability with a CVSS score of 8.8, published Dec 19, 2025. n8n is an open source workflow automation platform. Versions starting with 0.211.0 and prior to 1.120.4, 1.121.1, and 1.122.0 contain a critical Remote Code Execution (RCE) vulnerability in their workflow expression evaluation system.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.