CVE-2025-57760: Langflow Vulnerable to Privilege Escalation via CLI Superuser Creation (Post-RCE)
(updated )
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.
References
- github.com/advisories/GHSA-4gv9-mp8m-592r
- github.com/langflow-ai/langflow
- github.com/langflow-ai/langflow/commit/c188ec113c9ca46154ad01d0eded1754cc6bef97
- github.com/langflow-ai/langflow/pull/9152
- github.com/langflow-ai/langflow/security/advisories/GHSA-4gv9-mp8m-592r
- nvd.nist.gov/vuln/detail/CVE-2025-57760
Code Behaviors & Features
Detect and mitigate CVE-2025-57760 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →