ADVISORIES

PyPA Advisory Database

PYSEC-2026-82

Details

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.9.0, the Agentic Assistant feature in Langflow executes LLM-generated Python code during its validation phase. Although this phase appears intended to validate generated component code, the implementation reaches dynamic execution sinks and instantiates the generated class server-side. In deployments where an attacker can access the Agentic Assistant feature and influence the model output, this can result in arbitrary server-side Python execution. Version 1.9.0 fixes the issue.

Affected packages

EcosystemPackageAffected versions
PyPIlangflow
All versions before 1.9.0 (fixed in 1.9.0)

References