Vulnerability · Published Aug 25, 2025 · Assigned by GitHub_M

CVE-2025-57760Langflow Vulnerable to Privilege Escalation via CLI Superuser Creation

High 8.8

In plain English

A high-severity privilege mismanagement in langflow from langflow-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.5%top 54.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlangflow1.5.1GHSA-4gv9-mp8m-592r
PyPIlangflow1.5.0PYSEC-2025-243
PyPIlangflow-base0.5.1GHSA-4gv9-mp8m-592r
PyPIlangflow-base0.5.1PYSEC-2026-1526

Affected products (as reported)

VendorProductVersions
langflow-ai langflow <= 1.5.0

Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References