CVE Tools

CVE-2025-3248

Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/code

Published: Apr 7, 2025Updated: Jul 14, 2026 Sources: CVE List NVD GHSA BDUCWE-306

Description

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.

In plain language

AI Act now

Langflow versions before 1.3.0 allow an unauthenticated attacker to run arbitrary code over the internet via /api/v1/validate/code, so most small businesses should treat this as an urgent fix.

Executive summary

Unauthenticated RCE in Langflow via the /api/v1/validate/code endpoint (code validation accepts attacker-controlled input that can lead to arbitrary code execution); this is confirmed in the CISA KEV catalog and is fixed in langflow 1.3.0 (and langflow-base 0.3.0).

If affected, business impact
Full server compromiseData theftRansomware riskService outage

What to do now

  1. Check whether you run Langflow and what version you have installed (including any langflow-base dependency).
  2. If your Langflow version is earlier than 1.3.0, plan an immediate upgrade to Langflow 1.3.0.
  3. If you use/ship langflow-base, upgrade langflow-base to 0.3.0 or later.
  4. If you cannot upgrade right away, restrict network access so the /api/v1/validate/code endpoint is not reachable from the public internet, and follow your vendor’s mitigation guidance until upgrades are completed.
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

Exploitability

CISA Known Exploited Vulnerability
Added to KEV:May 5, 2025
Remediation due:May 26, 2025
Ransomware:Known ransomware use

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.

2 exploit sources identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

3 techniques
Execution
Initial Access
View detailed technique mapping

References

and 10 more references View all →
16
See all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-3248 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows