{"answers":{"affected":"4 open source packages ship an affected version, including n8n. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2025-68613 in the wild since at least 11 Mar 2026.","fix":"Upgrade n8n to a fixed version for your release line: 1.120.4 or 1.121.1. US federal agencies must fix it by 25 Mar 2026.","what":"CVE-2025-68613 is a critical code injection vulnerability in N8n N8n, published on 19 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-68613 and fix it if it is affected.\n\nWhat it is: CVE-2025-68613 is a critical code injection vulnerability in N8n N8n, published on 19 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2025-68613 in the wild since at least 11 Mar 2026.\n\nAffected packages and fixed versions:\n- n8n (npm): affected from 0.211.0; fixed in 1.120.4\n- n8n (npm): affected from 0.211.0; fixed in 1.120.4\n- n8n (npm): affected from 1.121.0; fixed in 1.121.1\n- n8n (npm): affected from 1.121.0; fixed in 1.121.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-68613/ (Markdown: https://insights.sbomify.com/CVE-2025-68613/index.md)","id":"CVE-2025-68613","markdown":"https://insights.sbomify.com/CVE-2025-68613/index.md","name":"CVE-2025-68613","record":{"aliases":["GHSA-v98v-ff95-f3cp","ROOT-APP-NPM-CVE-2025-68613"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"workflow automation platform","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary code via expression injection in n8n, leading to full system compromise.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"n8n","vendor":"n8n"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"description":"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. Under certain conditions, expressions supplied by authenticated users during workflow configuration may be evaluated in an execution context that is not sufficiently isolated from the underlying runtime. An authenticated attacker could abuse this behavior to execute arbitrary code with the privileges of the n8n process. Successful exploitation may lead to full compromise of the affected instance, including unauthorized access to sensitive data, modification of workflows, and execution of system-level operations. This issue has been fixed in versions 1.120.4, 1.121.1, and 1.122.0. Users are strongly advised to upgrade to a patched version, which introduces additional safeguards to restrict expression evaluation. If upgrading is not immediately possible, administrators should consider the following temporary mitigations: Limit workflow creation and editing permissions to fully trusted users only; and/or deploy n8n in a hardened environment with restricted operating system privileges and network access to reduce the impact of potential exploitation. These workarounds do not fully eliminate the risk and should only be used as short-term measures.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2025-06-10","github_poc":37,"max_poc_stars":105,"metasploit":1,"nuclei":1,"refs":[{"date":"2025-12-22T21:49:36Z","kind":"github_poc","ref":"https://github.com/wioui/n8n-CVE-2025-68613-exploit","stars":105,"title":"CVE-2025-68613: n8n RCE vulnerability exploit and documentation"},{"date":"2026-09-12T00:03:07Z","kind":"github_poc","ref":"https://github.com/ZeroDayEvil/CVE-2026-21858-n8n-FullChain","stars":88,"title":"🛡️ Official AI Security Tool module for CVE-2026-21858 + CVE-2025-68613 (n8n \"Ni8mare\" Unauthenticated Arbitrary File Read \u0026 Expression Injection RCE Full Chain)."},{"date":"2025-12-22T18:41:05Z","kind":"github_poc","ref":"https://github.com/TheStingR/CVE-2025-68613-POC","stars":29,"title":"Public PoC + Scanner and research for CVE-2025-68613: Critical RCE in n8n Workflow Automation via Expression Injection (CVSS 10.0). Includes detection tools, full exploit, and remediation guidance."},{"date":"2025-12-22T06:45:56Z","kind":"github_poc","ref":"https://github.com/rxerium/CVE-2025-68613","stars":27,"title":"Detection for CVE-2025-68613"},{"date":"2025-12-26T22:59:47Z","kind":"github_poc","ref":"https://github.com/LingerANR/n8n-CVE-2025-68613","stars":7,"title":"This laboratory provides a controlled environment to analyze and reproduce CVE-2025-68613 in a vulnerable n8n instance."},{"date":"2025-12-25T19:12:04Z","kind":"github_poc","ref":"https://github.com/hackersatyamrastogi/n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate","stars":5,"title":"n8n God Mode Ultimate - CVE-2025-68613 Scanner v1.0.0         ║ ║           Workflow Automation Remote Code Execution   "},{"date":"2025-12-25T20:01:55Z","kind":"github_poc","ref":"https://github.com/mbanyamer/n8n-Authenticated-Expression-Injection-RCE-CVE-2025-68613","stars":2,"title":"Proof-of-Concept exploit for CVE-2025-68613: Authenticated Remote Code Execution in n8n via Expression Injection"},{"date":"2025-12-25T16:22:33Z","kind":"github_poc","ref":"https://github.com/JohannesLks/CVE-2025-68613-Python-Exploit","stars":1,"title":"Python Exploit for CVE-2025-68613."}],"tier":"exploited"},"has_fix":true,"headline":"n8n Improper Control of Dynamically-Managed Code Resources","id":"CVE-2025-68613","indexable":true,"kev":{"dateAdded":"2026-03-11","dueDate":"2026-03-25","knownRansomwareCampaignUse":"Unknown","product":"n8n","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"n8n","vulnerabilityName":"n8n Improper Control of Dynamically-Managed Code Resources Vulnerability"},"kind":"cve","links":{"ecosystem":"npm","product":"n8n:n8n","products":["n8n:n8n"],"type":"code_injection","year":"2025"},"n_packages":4,"n_references":4,"next":{"headline":"LibreNMS Alert Rule API Cross-Site Scripting Vulnerability","id":"CVE-2025-68614"},"packages":[{"ecosystem":"npm","fixed":["1.120.4"],"introduced":["0.211.0"],"last_affected":[],"package":"n8n","purl":null,"source":"GHSA-v98v-ff95-f3cp"},{"ecosystem":"npm","fixed":["1.120.4"],"introduced":["0.211.0"],"last_affected":[],"package":"n8n","purl":"pkg:npm/n8n","source":"GHSA-v98v-ff95-f3cp"},{"ecosystem":"npm","fixed":["1.121.1"],"introduced":["1.121.0"],"last_affected":[],"package":"n8n","purl":null,"source":"GHSA-v98v-ff95-f3cp"},{"ecosystem":"npm","fixed":["1.121.1"],"introduced":["1.121.0"],"last_affected":[],"package":"n8n","purl":"pkg:npm/n8n","source":"GHSA-v98v-ff95-f3cp"}],"prev":{"headline":"Authentication bypass in Aries due to misconfiguration","id":"CVE-2025-68609"},"products":["n8n"],"published":"2025-12-19","related":[{"cvss_score":10,"headline":"n8n is vulnerable to Remote Code Execution via Arbitrary File Write","id":"CVE-2026-21877","kev_date_added":null,"published":"2026-01-08"},{"cvss_score":10,"headline":"n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling","id":"CVE-2026-21858","kev_date_added":null,"published":"2026-01-07"},{"cvss_score":9.9,"headline":"n8n Unsafe Workflow Expression Evaluation Allows Remote Code Execution","id":"CVE-2026-1470","kev_date_added":null,"published":"2026-01-27"},{"cvss_score":9.9,"headline":"n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node","id":"CVE-2025-68668","kev_date_added":null,"published":"2025-12-26"},{"cvss_score":9.5,"headline":"n8n has Unauthenticated Expression Evaluation via Form Node","id":"CVE-2026-27493","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":9.4,"headline":"n8n: HTTP Request Node Pagination Prototype Pollution to RCE","id":"CVE-2026-44789","kev_date_added":null,"published":"2026-06-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-12","vendors":["n8n-io"]},"summary":"Authenticated attackers can execute arbitrary code via expression injection in n8n, leading to full system compromise.","url":"https://insights.sbomify.com/CVE-2025-68613/"}