POC - Remote and unauthenticated attacker can send crafted HTTP requests to execute arbitrary code - CVE-2025-3248
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.
Read about it — CVE-2025-3248
Disclaimer: This Proof of Concept (POC) is made for educational and ethical testing purposes only. Usage of this tool for attacking targets without prior mutual consent is illegal. It is the end user’s responsibility to obey all applicable local, state, and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.
To find potential targets, use Fofa (similar to Shodan.io):
First, clone the repository:
git clone https://github.com/verylazytech/CVE-2025-3248
Run the Exploit:
python3 CVE-2025-3248.py <Target:port> <cmd>