{"id":"CVE-2026-25049","published":"2026-02-04T16:46:31Z","modified":"2026-02-05T14:36:17Z","title":"n8n Has an Expression Escape Vulnerability Leading to RCE","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to versions 1.123.17 and 2.5.2, an authenticated user with permission to create or modify workflows could abuse crafted expressions in workflow parameters to trigger unintended system command execution on the host running n8n. This issue has been patched in versions 1.123.17 and 2.5.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01563,"percentile":0.7588,"provenance":"source"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-6cqr-8cfr-67f8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/n8n-io/n8n/commit/7860896909b3d42993a36297f053d2b0e633235d","tags":["x_refsource_MISC"]},{"url":"https://github.com/n8n-io/n8n/commit/936c06cfc1ad269a89e8ef7f8ac79c104436d54b","tags":["x_refsource_MISC"]}],"priority":{"score":26.8,"factors":[{"name":"EPSS percentile","points":15.18},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-02-09","earliestUrl":"https://github.com/otakuliu/Expression-Sandbox-Escape-Simulation-Lab","repos":[{"name":"otakuliu/Expression-Sandbox-Escape-Simulation-Lab","url":"https://github.com/otakuliu/Expression-Sandbox-Escape-Simulation-Lab","stars":1,"created":"2026-02-09"},{"name":"ashrafzaryouh/CVE-2026-25049","url":"https://github.com/ashrafzaryouh/CVE-2026-25049","stars":0,"created":"2026-04-21"}]},"first":{"date":"2026-02-09","source":"PoC-in-GitHub","url":"https://github.com/otakuliu/Expression-Sandbox-Escape-Simulation-Lab"},"provenance":"source"},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.17","< 2.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-05T14:23:21.427676Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.17",">=2.0.0, <2.5.2"],"patched":["1.123.17","2.5.2"],"from":["GHSA-6cqr-8cfr-67f8"],"provenance":"source"}],"summary":{"text":"n8n, an open source workflow automation platform, contains an expression escape flaw in how workflow parameters are evaluated, which allows crafted expressions to be interpreted as code. An authenticated user with permission to create or modify workflows can exploit it over the network without further user interaction to run unintended system commands on the host running n8n.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:47:01Z"},"euvd":{"id":"EUVD-2026-5421","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-n8n-cve-2025-57749","parents":[{"from":"CVE-2025-62726","to":"CVE-2026-25049","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/nodes-base/nodes/Git/Git.node.ts"],"commits":["https://github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997","https://github.com/n8n-io/n8n/commit/7860896909b3d42993a36297f053d2b0e633235d","https://github.com/n8n-io/n8n/commit/936c06cfc1ad269a89e8ef7f8ac79c104436d54b"],"basis":"shared function","functions":["Git"]}]},{"from":"CVE-2025-65964","to":"CVE-2026-25049","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/nodes-base/nodes/Git/Git.node.ts"],"commits":["https://github.com/n8n-io/n8n/commit/d5a1171f95f75def5c3ac577707ab913e22aef04","https://github.com/n8n-io/n8n/commit/7860896909b3d42993a36297f053d2b0e633235d","https://github.com/n8n-io/n8n/commit/936c06cfc1ad269a89e8ef7f8ac79c104436d54b"],"basis":"shared function","functions":["Git"]}]},{"from":"CVE-2026-21877","to":"CVE-2026-25049","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/nodes-base/nodes/Git/Git.node.ts"],"commits":["https://github.com/n8n-io/n8n/commit/f4b009d00d1f4ba9359b8e8f1c071e3d910a55f6","https://github.com/n8n-io/n8n/commit/7860896909b3d42993a36297f053d2b0e633235d","https://github.com/n8n-io/n8n/commit/936c06cfc1ad269a89e8ef7f8ac79c104436d54b"],"basis":"shared function","functions":["Git"]}]}],"packageHistory":[{"cve":"CVE-2026-25052","published":"2026-02-04","fixed":"2.5.0","kev":false,"link":{"from":"CVE-2026-25049","to":"CVE-2026-25052","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"1.123.17","toFixed":"1.123.18","daysApart":0}]}},{"cve":"CVE-2026-33724","published":"2026-03-25","fixed":"2.5.0","kev":false},{"cve":"CVE-2026-56357","published":"2026-06-22","fixed":"2.5.0","kev":false},{"cve":"CVE-2026-1470","published":"2026-01-27","fixed":"2.5.1","kev":false,"link":{"from":"CVE-2026-1470","to":"CVE-2026-25049","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"2.5.1","toFixed":"2.5.2","daysApart":8}]}},{"cve":"CVE-2026-25049","published":"2026-02-04","fixed":"2.5.2","kev":false},{"cve":"CVE-2026-33722","published":"2026-03-25","fixed":"2.6.4","kev":false,"link":{"from":"CVE-2026-25049","to":"CVE-2026-33722","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"2.5.2","toFixed":"2.6.4","daysApart":49}]}},{"cve":"CVE-2026-33720","published":"2026-03-25","fixed":"2.8.0","kev":false},{"cve":"CVE-2026-27493","published":"2026-02-25","fixed":"2.10.1","kev":false}],"package":"npm:n8n"}}