# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET 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?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
