Skip to content
OpenAdvisories
High · 8.8 CVE-2025-57760 EUVD-2025-25750GHSA-4gv9-mp8m-592rPYSEC-2025-243PYSEC-2026-1526

Langflow Vulnerable to Privilege Escalation via CLI Superuser Creation

Published Aug 25, 2025 · Updated Aug 25, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
langflow-ai langflow <= 1.5.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References