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
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
- 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