← back
CVE-2025-68613

n8n Vulnerable to Remote Code Execution via Expression Injection

CVSS 10 CRITICALEPSS 97.9%● KEVCWE-913
In short

n8n workflow automation platform has a critical flaw that lets authenticated users run malicious code on the server by injecting harmful expressions into workflows. This could give attackers complete control over the system and access to all data it stores.

Technical detail

Remote Code Execution vulnerability in n8n's expression evaluation system (versions 0.211.0 to 1.120.3, 1.121.0, 1.122.0-beta) allows authenticated attackers to break out of the intended expression sandbox and execute arbitrary code with n8n process privileges through insufficiently isolated workflow expression contexts. Exploitation requires workflow configuration access and results in full instance compromise including data exfiltration, workflow manipulation, and OS-level command execution.

Summary generated and translated by AI from the official 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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
n8n-io · n8n
public PoCs found32
githubgithub.com/wioui/n8n-CVE-2025-68613-exploit98githubgithub.com/rxerium/CVE-2025-6861328githubgithub.com/TheStingR/CVE-2025-68613-POC25githubgithub.com/LingerANR/n8n-CVE-2025-686137githubgithub.com/hackersatyamrastogi/n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate5githubgithub.com/mbanyamer/n8n-Authenticated-Expression-Injection-RCE-CVE-2025-686131githubgithub.com/JohannesLks/CVE-2025-68613-Python-Exploit1githubgithub.com/releaseown/analysis-and-poc-n8n-CVE-2025-686131githubgithub.com/Khin-96/n8n-cve-2025-68613-thm1githubgithub.com/Ak-cybe/CVE-2025-68613-n8n-rce-analysis1githubgithub.com/r4j3sh-com/CVE-2025-68613-n8n-lab0githubgithub.com/intelligent-ears/CVE-2025-686130githubgithub.com/manyaigdtuw/CVE-2025-68613_Scanner0githubgithub.com/AbdulRKB/n8n-RCE0githubgithub.com/Victorhugofariasvieir66/relatorio-n8n.md0githubgithub.com/intbjw/CVE-2025-68613-poc-via-copilot0githubgithub.com/reem-012/poc_CVE-2025-686130githubgithub.com/h3raklez/CVE-2025-686130githubgithub.com/Dlanang/homelab-CVE-2025-686130githubgithub.com/canpilayda/n8n-RCE-CVE-2025-686130githubgithub.com/J4ck3LSyN-Gen2/n8n-CVE-2025-68613-TryHackMe0githubgithub.com/azilRababe/CVE-2025-686130githubgithub.com/sahilccras/Blackash-CVE-2025-686130githubgithub.com/gagaltotal/n8n-cve-2025-686130githubgithub.com/cv-sai-kamesh/n8n-CVE-2025-686130githubgithub.com/Rishi-kaul/n8n-CVE-2025-686130githubgithub.com/ahmedshamsddin/n8n-RCE-CVE-2025-686130githubgithub.com/TheInterception/n8n_CVE-2025-68613_exploit_payloads0githubgithub.com/ali-py3/Exploit-CVE-2025-686130githubgithub.com/nehkark/CVE-2025-686130githubgithub.com/GnuTLam/POC-CVE-2025-686130githubgithub.com/secjoker/CVE-2025-686130
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →