POC详情: 1b38d7fb468ba622205d0d9b9d77f5c9284dc311

来源
关联漏洞
标题: Langflow 安全漏洞 (CVE-2025-3248)
描述:Langflow是Langflow开源的一个用于构建多代理和 RAG 应用程序的可视化框架。 Langflow 1.3.0之前版本存在安全漏洞,该漏洞源于/api/v1/validate/code端点存在代码注入漏洞,可能导致远程未经验证的攻击者执行任意代码。
描述
CVE-2025-3248: A critical flaw has been discovered in Langflow that allows malicious actors to execute arbitrary Python code on the target system. This can lead to full remote code execution without authentication, potentially giving attackers control over the server.
介绍
# CVE-2025-3248 – Execute arbitrary Python code on vulnerable Langflow server.
 
**Discovered by:** Naveen Sunkavally, Horizon3.ai
**Status:** Public Disclosure  
**Date Reported:** 2025-04-07
**CVE ID:** CVE-2025-3248

---

## 🧾 Screenshot
![ScreenShot](https://github.com/vigilante-1337/CVE-2025-3248/raw/main/static/CVE-2025-3248.png) 

---

## 🧩 Summary

A critical flaw has been discovered in Langflow that allows malicious actors to execute arbitrary Python code on the target system. This can lead to full remote code execution without authentication, potentially giving attackers control over the server. The issue stems from unsafe handling of code input, where user-supplied Python is executed without proper validation or sandboxing.

---

## 📈 Impact

- 🔧 **Remote Code Execution** – Run arbitrary Python code or system commands.
- 🔐 **Full Server Compromise** – Gain control of the system if Langflow runs with elevated privileges.
- 📂 **Data Exposure** – Access sensitive environment variables, credentials, and internal files.
- 🕳️ **Persistence** – Install reverse shells or backdoors for long-term access.

**CVSS Estimate:** Critical (Base Score ~9.8)

---

## 🧾 Affected version
- affected from 0 through 1.2.0 

---


## Installation
You should first install the vulnerable lab, theres a guide on the [Docker](https://github.com/vigilante-1337/CVE-2025-3248/blob/main/Docker/setup) folder
```bash
~$ git clone https://github.com/vigilante-1337/CVE-2025-3248
~$ cd CVE-2025-3248
~$ chmod +x exploit
~$ ./exploit -h
```

---

## 🧾 References

- [CVE-2025-3248 on MITRE (pending)](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-3248)

---

_Disclosure coordinated with respect to responsible disclosure guidelines. This document is released for educational and defensive purposes._
文件快照

[4.0K] /data/pocs/1b38d7fb468ba622205d0d9b9d77f5c9284dc311 ├── [4.0K] Docker │   └── [ 846] setup ├── [5.9K] exploit ├── [1.8K] README.md └── [4.0K] static └── [100K] CVE-2025-3248.png 2 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。