Langflow Vulnerable to Privilege Escalation via CLI Superuser Creation
langflow-ai langflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| langflow PyPI |
|
|
| langflow-base PyPI |
|
|
langflow-ai langflow
| Product | Affected | Fixed in |
|---|---|---|
| langflow PyPI |
|
|
| langflow-base PyPI |
|
|
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.
From the CVE record · GitHub_M
Langflow containers allow an authenticated user who already has remote code execution (RCE) access to invoke the internal `langflow superuser` command. This can create a new administrator account and give a regular user full superuser access. The input says a patched version has not been made public yet.
Teams running Langflow containers should check their PyPI langflow and langflow-base installations against the listed affected ranges: langflow <1.5.1 and <1.5.0, and langflow-base <0.5.1.