PT-2026-25992 · Langflow · Langflow

·

CVE-2026-33017

·

Published

2025-06-17

·

Updated

2026-09-02

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Langflow versions prior to 1.9.0
Description An unauthenticated remote code execution issue exists in the POST /api/v1/build public tmp/{flow id}/flow endpoint. The endpoint is designed to allow building public flows without authentication, but it incorrectly accepts an optional data parameter. When this parameter is provided, the system uses attacker-controlled flow data containing arbitrary Python code in node definitions instead of the data stored in the database. This code is processed by the exec() function without sandboxing, allowing an attacker to execute arbitrary commands on the server. Real-world exploitation has been observed, with attackers using the flaw to steal API keys, database credentials, and cloud metadata tokens. The execution chain involves the prepare global scope() function, which executes ast.Assign nodes during the graph building process.
Recommendations Update Langflow to version 1.9.0. As a temporary mitigation, remove the data parameter from the build public tmp endpoint to ensure public flows only use stored database data.

Exploit

Fix

RCE

DoS

Eval Injection

Code Injection

Missing Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-06918
CVE-2026-33017
GHSA-RVQX-WPFH-MFX7
GHSA-VWMF-PQ79-VJVX
PYSEC-2026-379

Affected Products

Langflow