CVE-2026-25049: n8n · Improper Control of Dynamically-Managed Code Resources
Affects n8nSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical : upgrade to 2.5.2 or 1.123.17 as a priority.
Data as of 1 Dec 2026, 18:37 UTC
- EPSS
- 1.5% chance of exploitation in 30 days – higher than 76% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.5.2, 1.123.17
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade n8n to 2.5.2 or 1.123.17; n8n to 1.123.17; n8n to 2.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n8n-ion8n | Affected
| Fixed in
|
| n8n-ion8n | Affected
| Fixed in
|
npmn8npkg:npm/n8nOther threats | Affected
| Fixed in
|
npmn8npkg:npm/n8nOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should take the following specific actions to mitigate this vulnerability: 1) Immediately upgrade all n8n instances to version 1.123.17 or 2.5.2 or later, where the vulnerability is patched. 2) Restrict workflow creation and modification permissions to trusted administrators only, minimizing the number of users who can exploit this flaw. 3) Implement network segmentation and access controls to limit exposure of n8n servers to only necessary internal users and systems. 4) Monitor logs and workflow changes for unusual or unauthorized activity that could indicate exploitation attempts. 5) Employ application-level firewalls or runtime application self-protection (RASP) solutions to detect and block suspicious command execution patterns. 6) Conduct regular security audits and penetration testing focusing on workflow automation platforms to identify similar injection or execution risks. 7) Educate administrators and developers on secure workflow design and the risks of dynamic expression injection. 8) Consider deploying n8n instances within hardened containers or virtual machines with strict privilege separation to limit impact if exploited.
Description
CVE-2026-25049 is a critical vulnerability in the n8n workflow automation platform affecting versions prior to 1.123.17 and 2.5.2. Authenticated users with permissions to create or modify workflows can exploit crafted expressions in workflow parameters to execute arbitrary system commands on the host running n8n. This vulnerability arises from improper control of dynamically-managed code resources (CWE-913). No user interaction is required beyond authentication, and the exploit can lead to full system compromise. The issue has been patched in the specified versions. Although no known exploits are currently reported in the wild, the high CVSS score of 9.