Skip to content
NewA calmer, faster ZeroHour
VulnerabilityKEVRansomwarePoC ×43

CVE-2025-3248

Unauthenticated RCE in Langflow /api/v1/validate/code

CISA: Langflow Missing Authentication Vulnerability

CVSS 3.1
9.8 critical
EPSS
100%p100
Published
·
Added to KEV
Analyze CVE-2025-3248 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Langflow, an open-source visual framework for building LLM and agentic AI applications, contains a missing authentication flaw (CWE-306) in its /api/v1/validate/code endpoint. A remote attacker with network reachability to the endpoint can send crafted HTTP requests without any credentials, causing arbitrary code execution on the server. Successful exploitation yields code execution under the application's privileges, enabling data theft, backdoor installation, and, per CISA, ransomware deployment. Any running Langflow instance is affected; the tool is typically self-hosted by development teams building AI workflows, so real-world exposure depends on whether each instance is reachable from untrusted networks. Exploitation is confirmed in the wild: the flaw was added to CISA's KEV catalog on 2025-05-05 with known ransomware use, EPSS assigns a 100% probability of exploitation within 30 days (100th percentile), and a public PoC is available.

What to do: Upgrade Langflow to the latest patched release identified in the vendor's advisory; federal agencies must apply mitigations per vendor instructions under BOD 22-01 or discontinue use if mitigations are unavailable. Until patched, restrict network access to the /api/v1/validate/code endpoint via reverse-proxy authentication, firewall rules, or VPN placement, and avoid exposing Langflow directly to the internet. Because ransomware use is confirmed, review access and process-execution logs for signs of prior compromise.

ProductAffected
Langflow—
Estimated exposure
moderatetens of thousands of self-hosted deployments, with likely only hundreds to low thousands directly exposed to the internet — Langflow is a rapidly adopted open-source LLM builder typically deployed by developer teams for internal prototyping, so based on deployment patterns only a fraction of instances are expected to be internet-reachable; exact install and…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

KEVCISA Known Exploited Vulnerability
Affected
Langflow Langflow
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Due date
Ransomware use
Known
Vendors
langflow
Products
langflow
Ecosystems
pip
Weakness
CWE-306, CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA
GHSA-rvqx-wpfh-mfx7 (critical)

In the news

20 stories