Description
Langflow is a tool for building and deploying AI-powered agents and workflows. A privilege escalation vulnerability exists in Langflow containers where an authenticated user with RCE access can invoke the internal CLI command langflow superuser to create a new administrative user. This results in full superuser access, even if the user initially registered through the UI as a regular (non-admin) account. A patched version has not been made public at this time.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| langflow-ai | langflow | <= 1.5.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | langflow | < 1.5.1 | 1.5.1 | GHSA-4gv9-mp8m-592r |
| PyPI | langflow | < 1.5.0 | 1.5.0 | PYSEC-2025-243 |
| PyPI | langflow-base | < 0.5.1 | 0.5.1 | GHSA-4gv9-mp8m-592r |