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
CVE-2026-21858 — Docker-based PoC environment and exploit script for CVE-2026-21858, an n8n 1.120.4 arbitrary file read and RCE flaw, providing secret extraction and an interactive shell. | Kitploit
Tools/GitHubGitHub/yym8538/cve-2026-21858
Container SecurityVulnerability AnalysisExploitationWeb Application ExploitationSecurity VirtualizationPenetration TestingRed TeamingRemote Access Tool
GitHubyym8538/cve-2026-21858

CVE-2026-21858

Docker-based PoC environment and exploit script for CVE-2026-21858, an n8n 1.120.4 arbitrary file read and RCE flaw, providing secret extraction and an interactive shell.

1433 months agoNot yet reviewed
Share
View Repository

CVE-2026-21858 RCE

PoC environment for n8n 1.120.4 with a Form Trigger workflow and an exploit script.

Requirements

  • Docker (Docker Desktop on Windows)
  • Python 3.x (attack side)

Files

  • Dockerfile — build the n8n vulnerable environment
  • run.bat — run the container (Windows)
  • workflow.txt — n8n workflow (includes Form Trigger)
  • poc.py — PoC script
  • requirements.txt — PoC dependencies

Environment Setup

  1. Build Docker image
docker build -t n8n-vuln:1.120.4 .
  1. Run environment (Windows)
run.bat
  1. n8n Configuration
  1. Open n8n in the browser
  2. Login as admin
  3. Create a new workflow
  4. paste workflow.txt
  5. Activate the workflow
  6. Copy the Form Trigger URL

Proof of Concept (PoC)

  1. Install dependencies (attack side)
pip3 install -r requirements.txt
  1. Run exploit
python3 poc.py
  • Paste the Form Trigger URL when prompted.

Expected Result

  • PoC extracts sensitive n8n assets (e.g., FINAL_SECRET_KEY, admin identifiers) from the target.
  • An interactive shell prompt (n8n-shell>) is provided.
  • Running a command (e.g., id) returns output from the target environment (RCE).

Sample Output

[+] Success: SECRET_KEY = "..."
[+] Success: admin_id = "..."
[+] Success: admin_hash = "..."

=== n8n Shell Ready ===
n8n-shell> id

[!] 'id' Result:
------------------------------
uid=1000(n8n) gid=1000(n8n) groups=1000(n8n)
------------------------------

EQST Insight

We publish CVE and malware analysis once a month. If you're interested, please follow the links below to check out our publications.

  • KR : https://www.skshieldus.com/security-insights/reports/n8n_arbitrary_file_read_vulnerability_cve_2026_21858
  • EN : https://www.skshieldus.com/en/report?tab=eqst
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.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    520
  • 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.

    439
  • 4

    redforge

    cybersecurity91/redforge

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

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    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.

    264

Explore all tools

Browse our collection of tools

View all tools →