CVE-2026-33017: Langflow Code Injection Vulnerability
Critical severity, CVSS 9.8. Actively exploited: in CISA KEV since 2026-03-25. EPSS: 24.8% chance of exploitation in the next 30 days.
Langflow is a tool for building and deploying AI-powered agents and workflows. In versions prior to 1.9.0, the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint allows building public flows without requiring authentication. When the optional data parameter is supplied, the endpoint uses attacker-controlled flow data (containing arbitrary Python code in node definitions) instead of the stored flow data from the database. This code is passed to exec() with zero sandboxing, resulting in unauthenticated remote code execution. This is distinct from CVE-2025-3248, which fixed /api/v1/validate/code by adding authentication. The build_public_tmp endpoint is designed to be unauthenticated (for public flows) but incorrectly accepts attacker-supplied flow data containing arbitrary executable code. This issue has been fixed in version 1.9.0.
Affected products
- Langflow Langflow: before 1.8.2 (fixed in 1.8.2)
Published 2026-03-20. Last modified 2026-06-17.