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
CVE-2026-21858 — Exploit chain for unauthenticated remote code execution in n8n, combining content-type confusion and expression injection to read files, forge JWTs, and execute commands. | Kitploit
Tools/GitHubGitHub/sec-dojo-com/cve-2026-21858
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubsec-dojo-com/cve-2026-21858

CVE-2026-21858

Exploit chain for unauthenticated remote code execution in n8n, combining content-type confusion and expression injection to read files, forge JWTs, and execute commands.

View Repository
17 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

CVE-2026-21858 + CVE-2025-68613 - n8n RCE Exploit

Unauthenticated RCE chain for n8n < 1.121.0 (CVSS 10.0)

Attack Chain

  1. CVE-2026-21858 - Content-Type confusion → read /home/node/.n8n/config and database.sqlite
  2. Extract encryption key and admin credentials from files
  3. Forge admin JWT token
  4. CVE-2025-68613 - Expression injection → execute commands via child_process

Usage

root@kitploit:~
# Execute command
python3 exploit.py http://target:5678 /form/test --cmd "id"

# Read file
python3 exploit.py http://target:5678 /form/test --read /etc/passwd

# Interactive shell
python3 exploit.py http://target:5678 /form/test

Requirements

Target must have an active workflow with:

  • Form Trigger node with file upload field
  • Respond to Webhook node returning binary data
  • Publicly accessible form endpoint

References

  • Cyera Research - Ni8mare
  • Original Exploit by Chocapikk
Download Tool