9.3Critical KEV

CVE-2026-33017Langflow has Unauthenticated Remote Code Execution via Public Flow Build Endpoint

langflow-ai langflow Published: (8 months ago)

Known exploited — Langflow Code Injection Vulnerability

CISA confirmed this vulnerability is used in real attacks on 25.03.2026. Remediation deadline for US federal agencies: 08.04.2026.

Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx ; https://nvd.nist.gov/vuln/detail/CVE-2026-33017

Description

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.

Weakness (CWE): CWE-94CWE-95CWE-306

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
langflow langflow < 1.8.2
langflow-ai langflow < 1.9.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* < 1.8.2