PT-2025-15232 · Langflow · Langflow

·

CVE-2025-3248

·

Published

2025-04-07

·

Updated

2026-09-10

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
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 Python code via the code variable to execute arbitrary commands on the server. This issue has been exploited in the wild by the JadePuffer ransomware, which utilized an autonomous AI agent to perform reconnaissance, steal credentials, move laterally, and encrypt databases without human intervention. Additionally, the vulnerability has been used to deploy the Flodrix botnet for DDoS attacks. The attack chain often involves identifying exposed instances via scanning tools and executing reconnaissance commands such as whoami and printenv before establishing persistence.
Recommendations Update Langflow to version 1.3.0 or higher. As a temporary mitigation, 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 in the request body.

Exploit

Fix

DoS

LPE

RCE

Code Injection

Missing Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-06683
CVE-2025-3248
GHSA-C995-4FW3-J39M
GHSA-RVQX-WPFH-MFX7
PYSEC-2025-36
PYSEC-2026-380

Affected Products

Langflow