> For the complete documentation index, see [llms.txt](https://www.verylazytech.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.verylazytech.com/vulnerabilities-and-exploits/cve-poc/poc-remote-and-unauthenticated-attacker-can-send-crafted-http-requests-to-rce-cve-2025-3248.md).

# POC - Remote and unauthenticated attacker can send crafted HTTP requests to RCE - cve-2025-3248

### Overview

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.

{% embed url="<https://www.youtube.com/watch?v=n8ZyQpaYH5g>" %}

**Read about it** — [CVE-2025-3248](https://nvd.nist.gov/vuln/detail/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.

### Getting Started

#### Finding Targets

To find potential targets, use Fofa (similar to Shodan.io):

<figure><img src="/files/7AMTYzMcdaWTzbzS4Ncm" alt=""><figcaption></figcaption></figure>

#### Cloning the Repository

First, clone the repository:

```
git clone https://github.com/verylazytech/CVE-2025-3248
```

Run the Exploit:

```
python3 CVE-2024-23692.py <Target:port>  <cmd>
```

<figure><img src="/files/cDaFFf9p7aTbk8lTx0iV" alt=""><figcaption></figcaption></figure>
