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

Inspect INC-2025-3248 in Interactive Incidents & Cases Hub

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

Mapped defensive controls

Source citation records