Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
n8n-RCE-CVE-2025-68613 — n8n RCE (CVE-2025-68613) | Kitploit
Tools/GitHubGitHub/ahmedshamsddin/n8n-rce-cve-2025-68613
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubahmedshamsddin/n8n-rce-cve-2025-68613

n8n-RCE-CVE-2025-68613

n8n RCE (CVE-2025-68613)

View Repository
7 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

n8n CVE-2025-68613

Overview

This repository contains an educational security research project focused on
CVE-2025-68613, a vulnerability affecting specific versions of n8n related to unsafe workflow expression evaluation.

The project was tested only in a controlled local lab environment.


About CVE-2025-68613

CVE-2025-68613 is an authenticated Remote Code Execution (RCE) vulnerability caused by unsafe evaluation of workflow expressions in affected n8n versions.

Under certain conditions, authenticated users can abuse the workflow expression evaluation system to execute arbitrary code.

Affected Versions

  • Versions ≥ 0.211.0
  • Fixed in:
    • 1.120.4
    • 1.121.1
    • 1.122.0

Repository Contents

root@kitploit:~
.
├── scanner.py   # Safe version-based vulnerability checker
├── exploit.py   # Exploit of the workflow expression evaluation system
Download Tool

Important Distinction

  • scanner.py
    Performs non-intrusive version checking only (safe for audits and inventories).

  • exploit.py
    Demonstrates how the workflow expression evaluation system can be abused in vulnerable versions.
    ⚠️ This file is an exploit, not just a PoC, and is intended only for local labs.


Local Lab Setup (Docker)

The vulnerable environment was created using the official n8n Docker image.

Start Vulnerable n8n Instance

root@kitploit:~
docker run -it --rm \
  --name n8n-vulnerable \
  -p 5678:5678 \
  n8nio/n8n:1.121.0
  • n8n UI will be available at:
    http://localhost:5678
  • Version 1.121.0 is intentionally vulnerable for testing purposes.
  • Since it is an authenticated RCE, you should create an account at http://localhost:5678/setup and provide your credentials in the exploit arguments when running the script

Demonstration Screenshot

The image below shows a Set node evaluating a workflow expression and returning command output inside the workflow execution result.
This behavior occurs due to unsafe expression evaluation in vulnerable versions.

poc


Scanner Usage (Safe)

root@kitploit:~
python scanner.py http://localhost:5678

Example Output

root@kitploit:~
n8n Version Info: 1.121.0
The target n8n instance is VULNERABLE to CVE-2025-68613.

Exploit Script

The exploit script:

  • Authenticates to n8n
  • Deploys a crafted workflow
  • Triggers workflow execution
  • Demonstrates abuse of the expression evaluation system
  • Cleans up the workflow afterward

⚠️ This script must only be used on systems you own or have explicit permission to test. Example:

root@kitploit:~
python exploit.py -u http://localhost:5678 -e <youremail> -p <yourpassword>
---

## Disclaimer

This repository is provided **strictly for educational, research, and defensive
security purposes**.

All testing was performed in a **local Docker-based lab environment**.
Unauthorized use of this code against systems without permission is illegal and may
violate applicable laws.

The author assumes **no responsibility** for misuse, damage, or legal consequences
resulting from the use of this code.


## Author
Security research conducted as part of a personal learning and portfolio project.