LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2025-3248: Langflow Missing Authentication Vulnerability

RBRecent Breaches Vulnerability Intelligence·May 5, 2025
CVSS 9.8 · Critical⚠ Actively exploited (CISA KEV)Ransomware-linked
9.8
CVSS score
Critical
Severity
Active
CISA KEV
Yes
Ransomware use
May 26, 2025
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2025-3248 to its Known Exploited Vulnerabilities catalog on May 5, 2025, with a federal patch deadline of May 26, 2025 — meaning attackers are actively using it. If you run the affected software, patch it immediately. Ransomware crews are known to exploit this flaw.

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.

CVE-2025-3248 is a missing authentication flaw in Langflow that leaves the /api/v1/validate/code endpoint open to remote, unauthenticated attackers. By sending crafted HTTP requests to that endpoint, an attacker can execute arbitrary code on the host. This matters because successful exploitation gives full control of the Langflow instance and any connected systems or data it can reach; the vulnerability is also known to have been used in ransomware operations.

Defenders should treat any internet-facing or poorly segmented Langflow deployment as high priority until the vendor fix is confirmed and applied.

How it works

The underlying weakness is CWE-306 (Missing Authentication for Critical Function). The /api/v1/validate/code endpoint performs code validation or execution without first requiring the caller to prove identity or authorization. An unauthenticated remote attacker can therefore reach the endpoint over the network and supply specially crafted request content that the application processes as executable code. Because no authentication gate exists, the attacker needs only network reachability and knowledge of the endpoint path. Exact request format and payload construction must be confirmed against the vendor advisory; the practical result is remote code execution under the privileges of the Langflow process.

Am I affected? How to find it in your systems

Langflow is commonly deployed as a low-code or visual interface for building and running AI/LLM workflows, often in development, data-science, or internal automation environments. It may run as a container, a local Python service, or a cloud-hosted instance. Inventory steps include:

Any instance that exposes the endpoint without authentication is potentially vulnerable until proven otherwise by the vendor’s version guidance.

How to remediate

The primary remediation is to apply the vendor-supplied update that addresses CVE-2025-3248. Confirm the exact fixed release and upgrade procedure directly from the Langflow advisory. After patching:

If you can't patch immediately

Until the vendor update can be installed, reduce exposure with the following compensating controls:

If your data may have been exposed

Because this vulnerability enables unauthenticated remote code execution and has been observed in ransomware campaigns, any unpatched, reachable Langflow instance should be treated as potentially compromised. Contain the host, preserve logs and memory images, and begin incident-response procedures. Review connected data stores, model repositories, and credential stores for unauthorized access. As a quick external check, you can run a free exposure scan of your organizational email addresses against known breach data sets to determine whether related credentials have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedLangflow · Langflow
WeaknessCWE-306
CVSS base score9.8 (Critical)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PublishedApr 7, 2025
Added to CISA KEVMay 5, 2025
Federal patch deadlineMay 26, 2025
Known ransomware useYes
Check if your data is exposed →

References

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities