Incident report

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 record

Reported
Severity
Critical
Vector
Exposed Infrastructure
Affected system type
Visual Low-Code LLM Agent Builders
Reference
CVE-2025-3248
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-3248

Inspect in Interactive Incidents Hub

Defensive lesson

Never expose low-code AI builder endpoints without authentication; upgrade Langflow past 1.3.0 and isolate custom-component validation inside sandboxed workers.

Referenced techniques