Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-3248 PoC — Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/code

Source
Associated Vulnerability
Title: Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/code (CVE-2025-3248)
Description:Langflow versions prior to 1.3.0 are susceptible to code injection in the /api/v1/validate/code endpoint. A remote and unauthenticated attacker can send crafted HTTP requests to execute arbitrary code.
Description
CVE-2025-3248 Langflow RCE Exploit
Readme
# mitsec - CVE-2025-3248 Langflow RCE Exploit

Remote Code Execution (RCE) exploit for **Langflow** applications vulnerable to **CVE-2025-3248**.

> Affected Endpoint: `/api/v1/validate/code`

## 🚀 Exploit Features

- Remote and unauthenticated RCE
- No authentication required
- Python3 one-liner script
- Colorized terminal output

## 🔧 Usage

```bash
python3 mitsec.py -u http://target:7860 -c "id"
```

## 🧪 Example Output

```bash
[+] Command Output:
uid=1001(langflow) gid=1001(langflow) groups=1001(langflow)
```

## 🧠 CVE Details

- **CVE**: CVE-2025-3248
- **Type**: Remote Code Execution (RCE)
- **Component**: Langflow backend
- **Condition**: Misuse of dynamic `exec()` in user-controlled code path

## 📌 ZoomEye Dork

```
app="Langflow"
```

## 🧑‍💻 Author

- Twitter: [@ynsmroztas](https://twitter.com/ynsmroztas)
- GitHub: [@ynsmroztas](https://github.com/ynsmroztas)

## 📜 Disclaimer

> This tool is for **educational and authorized security testing** purposes only. Unauthorized use is prohibited.
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →