Documented Incident · INC-2025-3248 · Critical severity
Langflow Pre-Auth RCE Exploited in Wild via Code Validation Endpoint
CVE-2025-3248 (CVSS 9.8) exposed an unauthenticated remote code execution flaw in Langflow (`< 1.3.0`) via its `/api/v1/validate/code` endpoint. Because the validation endpoint parsed and executed user-supplied Python AST/function definitions via `exec()` without authentication or sandboxing, internet-facing Langflow builders were trivially compromised. Threat intelligence telemetry confirmed active in-the-wild exploitation deploying botnets, cryptominers, and credential stealers against exposed AI servers, including campaigns paired with autonomous attack agents (`AML.CS0070`). Langflow v1.3.0 enforced authentication and restricted code validation, while operators must place visual AI builders behind Zero Trust access controls.
Incident dossier metadata
- Case ID
INC-2025-3248- Classification
- Incident
- Date
- Severity
- Critical
- Sector
- Cloud & AI Infrastructure
- Attack vector
- Exposed Infrastructure
- System type
- Visual Low-Code LLM Agent Builders
- CVE / reference
CVE-2025-3248- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-3248
Defensive takeaway
Never expose low-code AI builder endpoints without authentication; upgrade Langflow past 1.3.0 and isolate custom-component validation inside sandboxed workers.
Mapped AI security techniques
- Active Scanning: Scan for Exposed AI Infrastructure AML.T0006.002
- Exploit Public-Facing Application AML.T0049
- Command and Scripting Interpreter AML.T0050
- Exploitation of Remote Services AML.T0122
- Misconfigured or Publicly Exposed AI Services AML.T0132
Mapped defensive controls
- Vulnerability Scanning AML.M0016
- Control Access to AI Models and Data in Production AML.M0019
- Segmentation of AI Agent Components AML.M0032
Source citation records
- NVD Record CVE-2025-3248: Langflow Pre-Authentication Remote Code Execution · NIST National Vulnerability Database (NVD) ·