n8n Git node can freeze the instance with a crafted path
What this means
An authenticated user can make n8n stop responding to all requests by running a workflow with a specially crafted file path. The entire instance freezes until the operation times out or is killed, affecting all users and stopping all automations. No data is lost, but the downtime can halt business processes that depend on n8n.
SecurityElites Manager Brief: the decision in one minute
A user with login access can crash your whole n8n instance by running one workflow. Everyone loses access until you restart it. Upgrade to version 1.123.76, 2.37.7, 2.38.2, or later immediately, or disable the Git node as a temporary fix.
| SecurityElites Fix-First Score | 43 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or DevOps team that runs n8n. |
| Likely effort | About 30 minutes to an hour per n8n instance: a version bump and a restart. It may take longer if you have custom nodes or if you need to test the upgrade in a staging environment first. |
Questions to ask your team or supplier
- Which users or teams have permission to create or edit workflows in our n8n instance, and how much do we trust them?
- Do we have a maintenance window planned where we can safely restart n8n, or do we need to apply a temporary workaround first?
- Are there any custom or critical workflows that would cause significant business impact if n8n were unavailable for 30 minutes?
Message you can forward to the owning team
Security notice: n8n Git node can freeze the instance with a crafted path (CVE-2026-86081)
Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to n8n 2.38.2 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-86081-n8n-git-node-can-freeze-the-instance-with-a/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01790What is at stake in your AI setup
- Workflows and automations: an attacker can halt all running automations and block legitimate workflow execution.
- Connected external systems and API keys: while the instance is frozen, integrations with external services may be disrupted or leave incomplete state.
Who is exposed
- n8n instances where any authenticated user can create or edit workflows (all users on a shared instance).
- n8n instances in multi-tenant setups where users could affect other tenants.
- Teams running n8n 1.x below 1.123.76, 2.37.x below 2.37.7, or 2.38.0 to 2.38.1.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| n8n npm | Every version before 1.123.76; 2.38.0 up to, but not including, 2.38.2; 2.0.0 up to, but not including, 2.37.7 | 2.38.2 or later |
Each maintained branch has its own fixed version. Stay on your branch if you cannot jump to the newest: n8n 1.123.76, 2.37.7, 2.38.2.
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Is it being attacked | No known attacks and no public attack code when CISA last reviewed it |
|---|---|
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
| Account needed | An ordinary user account |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | None |
| Risk of: data or settings being changed | None |
| Risk of: the service being taken down | High |
| Can attackers automate it at scale | Yes, according to CISA |
| How much control an attacker gains | Partial control, according to CISA |
Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Kind of coding mistake
- CWE-1333: a slow pattern match can freeze the service
Where it sits in the standards
OWASP Top 10 for LLM Applications 2025: LLM10 Unbounded Consumption
If you cannot upgrade today
- Restrict n8n login to users you fully trust and who will not use Git nodes recklessly.
- Disable the Git node by setting the environment variable `NODES_EXCLUDE=n8n-nodes-base.git` and restarting n8n.
- Replace the vulnerable file pattern by setting `N8N_BLOCK_FILE_PATTERNS` to a linear-safe regex pattern and restarting. Ask your n8n provider or community for a safe pattern.
Signs it may already have been used against you
- Logs showing the n8n process becoming unresponsive (high CPU, no output) during workflow execution.
- Multiple execution records for Git node workflows that fail with timeout errors or are marked as not started.
- Users reporting that n8n stops responding when they run or edit workflows with Git nodes, then recovers after a restart.
SecurityElites Fix Guide: step by step
- Find your n8n versionLog in to n8n. Go to Settings or About. Note the version number. Check if it is 1.123.76 or later, 2.37.7 or later, or 2.38.2 or later.
- Back up your n8n dataExport your workflows, credentials, and any custom settings. This protects you if the upgrade encounters problems.
- Review who can access n8n todayList all users who can log in and create workflows. If this includes people you do not fully trust, the risk is higher.
- Decide on a temporary workaround if neededIf you cannot upgrade immediately, choose one or more workarounds: restrict login to trusted users only, disable the Git node, or replace the file pattern. Each option reduces but does not remove the risk.
- Upgrade n8n to the fixed versionUpdate to version 1.123.76, 2.37.7, 2.38.2, or any later version. Follow your deployment method (npm, Docker, managed service, etc.). If you use a managed service, check whether the update is already applied or contact the provider.
- Restart n8nStop the n8n service and start it again. Wait for it to be ready to accept requests.
- Verify the fix is in placeLog in to n8n and check that the version displayed is 1.123.76, 2.37.7, 2.38.2, or later. This confirms the vulnerable code has been replaced.
- Check for signs of past exploitationReview your workflow execution logs for any runs created by users with Git nodes and unusual or repeated failed executions between your current date and three months ago. If you find any, investigate whether they were intentional.
How to confirm it is fixed: Log in to n8n and confirm that the version displayed in settings is 1.123.76, 2.37.7, 2.38.2, or later.
SecurityElites Quick Fixes: copy and paste
Upgrade n8n with npmupgrade
npm install n8n@2.38.2
npm ls n8nCheck n8n version via API (Linux/macOS/Windows with curl)for this issue
curl -s http://localhost:5678/api/v1/health | grep -o '"version":"[^"]*"'Rate and size limits with nginxgeneral hardening
limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s;
server {
location /api/ {
limit_req zone=api burst=20 nodelay;
client_max_body_size 2m;
}
}Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2026-86081) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - n8n (npm): must be 2.38.2 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## n8n Git node can freeze the instance with a crafted path (CVE-2026-86081)
**Severity:** High | **SE Fix-First Score:** 43/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-01790 https://securityelites.com/ai-vulnerabilities/cve-2026-86081-n8n-git-node-can-freeze-the-instance-with-a/
### Why this matters
An authenticated user can make n8n stop responding to all requests by running a workflow with a specially crafted file path. The entire instance freezes until the operation times out or is killed, affecting all users and stopping all automations. No data is lost, but the downtime can halt business processes that depend on n8n.
### What to do
1. Find your n8n version
2. Back up your n8n data
3. Review who can access n8n today
4. Decide on a temporary workaround if needed
5. Upgrade n8n to the fixed version
6. Restart n8n
7. Verify the fix is in place
8. Check for signs of past exploitation
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-86081-n8n-git-node-can-freeze-the-instance-with-a/
### Done when
- [ ] n8n is at 2.38.2 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Log in to n8n and confirm that the version displayed in settings is 1.123.76, 2.37.7, 2.38.2, or later.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- n8n legacy expression engine allows code execution via JSON.stringify override High · CVE-2026-86083
- n8n OpenAI node bypasses domain restrictions on model search High · CVE-2026-86082
- n8n OAuth registration accepts unlimited field sizes, filling the database High · CVE-2026-86075
- n8n expression compiler can run arbitrary code through class field names High · CVE-2026-86076
- n8n Edit Fields node can crash the whole instance with a bad field name High · CVE-2026-72749
- n8n Edit Image node can write files outside its working directory High · CVE-2026-72762
The same kind of mistake in other AI tools
- NLTK XML parser can be made to freeze by reading a crafted corpus file High · CVE-2026-128139
- NLTK WordNet tree methods can run out of memory with deep relation chains High · CVE-2026-129223
- NLTK CCG lexicon parser can be made to freeze with large input High · CVE-2026-126299
- NLTK tree normalizer hangs on wide trees High · CVE-2026-126298
- NLTK CoNLL reader can be made to consume CPU when reading malicious corpus files High · CVE-2026-126297
Change history
- 10 Sep 2026: Made public
- 2 Dec 2026: Published
Official record
## ImpactThe Git node's clone operation matched the destination path against the default `N8N_BLOCK_FILE_PATTERNS` expression, which was written so that a crafted path caused catastrophic backtracking. Evaluation runs synchronously in the main n8n process, so an authenticated user could freeze the instance for everyone with a single workflow execution and no unusual configuration. The patch rewrites the pattern so that matching is linear in the length of the path.## PatchesThe issue has been fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability.## WorkaroundsIf upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Restrict n8n instance access to fully trusted users only. - Disable the Git node by adding `n8n-nodes-base.git` to the `NODES_EXCLUDE` environment variable. - Set `N8N_BLOCK_FILE_PATTERNS` to a backtracking-safe equivalent pattern to replace the vulnerable default.These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Weakness type: CWE-1333
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-86081For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.