CVE-2025-57760 json
Langflow Vulnerable to Privilege Escalation via CLI Superuser Creation
published 2025-08-25 14 mo ago modified 2026-07-13 3 mo ago also EUVD-2025-25750 , GHSA-4gv9-mp8m-592r , PYSEC-2025-243 , PYSEC-2026-1526
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi langflow 1.5.0, 1.5.1
- pypi langflow-base 0.5.1
- langflow langflow 1.5.1
- langflow-ai langflow 1.5.1
- langflow langflow-base 0.5.1
- github.com/langflow-ai/langflow@c188ec1 commit
- github.com/langflow-ai/langflow#9152 pull request
- github.com/langflow-ai/langflow#9152 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 14 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | langflow | <1.5.1 <1.5.0 |
1.5.1 1.5.0 |
| pypi | langflow-base | <0.5.1 |
0.5.1 |
Affected products
- langflow-ai langflow
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
github.com
/langflow-ai/langflow/commit/c188ec113c9ca46154ad01d0eded1754cc6bef97
web, patch
-
github.com
/langflow-ai/langflow/pull/9152
patch
-
github.com
/langflow-ai/langflow/pull/9152
web
-
github.com
/langflow-ai/langflow/security/advisories/GHSA-4gv9-mp8m-592r
web, third-party-advisory, advisory
-
github.com
/langflow-ai/langflow
package
-
pypi.org
/project/langflow-base
package
-
github.com
/advisories/GHSA-4gv9-mp8m-592r
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-57760
advisory
Sources
- CVE List CVE-2025-57760
- GitHub Advisory GHSA-4gv9-mp8m-592r
- NVD CVE-2025-57760
- OSV PYSEC-2025-243
- OSV PYSEC-2026-1526
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.