PT-2025-15232
CVE-2025-3248
·
Published
2025-04-07
·
Updated
2026-11-16
Description by
CVSS 3.1
10
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Langflow versions prior to 1.3.0
Description
Langflow is susceptible to unauthenticated remote code execution (RCE) due to missing authentication in the
/api/v1/validate/code endpoint. A remote attacker can send crafted HTTP requests containing arbitrary Python code to execute commands on the server. This issue has been exploited in the wild by the JadePuffer autonomous AI agent, which performed a full kill chain including reconnaissance, credential theft, lateral movement, and database encryption without human intervention. In one instance, the agent autonomously diagnosed and fixed a failed login attempt in 31 seconds. Additionally, the vulnerability has been used to deploy the Flodrix botnet for DDoS attacks. The attack process typically involves scanning for public instances via Shodan or FOFA, executing reconnaissance commands, and establishing persistence via crontab with a 30-minute callback interval.Recommendations
Update Langflow to version 1.3.0 or later.
As a temporary workaround, restrict internet access to the API or implement firewall rules to block POST requests to the
/api/v1/validate/code endpoint, specifically those containing Python operators such as exec, Exception, import, print, or system.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾
Now trending · #16
401 Posts
596 Reposts
5.1 M Audience