Langflow RCE Bug Hits AI Devs — Here’s How to Lock It Dow
The code validation endpoint in Langflow accepted Python code and executed it without authentication or input checks, so an unauthenticated attacker could run arbitrary code on the server. The text says this was exploited in the wild to deploy a botnet.
If you’re knee-deep in building AI apps using Langflow, there’s a nasty security mess you need to know about. A recent vulnerability, tagged CVE-2025–3248, has opened the door for remote code execution (RCE) attacks — and yep, it’s already being exploited in the wild.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The endpoint passed user-supplied Python code to execution functions without authentication or input validation.
Impact
An unauthenticated attacker could execute arbitrary code on the server, and the text says this was used to deploy a botnet that launches DDoS attacks.
What the attacker needed
Network access to the endpoint; no login required
The fix
The vulnerability was fixed in Langflow 1.3.0 and later, so users should upgrade.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Langflow is a tool for building AI apps. One of its web addresses was meant to check whether Python code was valid, but it actually ran that code on the server. Because anyone could reach it without logging in, an outsider could make the server do whatever they wanted.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.