LangflowPublished 20 Mar 2026NVD status: Analyzed

CVE-2026-33017

Langflow is a tool for building and deploying AI-powered agents and workflows.

ComponentLangflow
Severitycritical (CVSS 9.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2026-03-20
Last modified2026-06-17
Affected versions
< 1.9.0
from the GitHub-reviewed advisory GHSA-vwmf-pq79-vjvx
Fixed in1.9.0
WeaknessCWE-94CWE-95CWE-306
CISA KEVlisted 2026-03-25

Versions, checked against NVD

NVD's analysis reads < 1.8.2. The ranges above come from the GitHub-reviewed advisory GHSA-vwmf-pq79-vjvx. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).

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

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

What to do

  • Upgrade Langflow to 1.9.0 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.
  • It is exploited in the wild: treat unpatched hosts as compromised, rotate the secrets they hold and review their logs.

Sources

Read more