CVE-2025-57760: Langflow Privilege Escalation via CLI Superuser Creation

langflow Updated 02 Oct 2025

Summary

25/08/2025
No i
High
8.8

CVE-2025-57760: Langflow Vulnerable to Privilege Escalation via CLI Superuser Creation (Post-RCE). Affects langflow versions < 1.5.0. No fix is published. How to fix ↓

Also tracked for

The same CVE-2025-57760 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Langflow is an open-source application designed for managing and orchestrating workflows in a user-friendly manner. It allows users to create, modify, and execute workflows seamlessly. The application includes a Docker image that provides a command-line interface (CLI) for advanced users. However, it has been found to have a critical vulnerability that allows unauthorized privilege escalation.

Vulnerability Detail

This vulnerability, discovered by Check Point researchers, allows an authenticated user with remote code execution (RCE) access to exploit the internal CLI command 'langflow superuser' to create a new administrative user. This occurs without proper checks to see if a superuser already exists, enabling a low-privileged user to gain full superuser access. The vulnerability bypasses role enforcement and compromises user integrity, leading to a complete takeover of the Langflow application. The implications include unauthorized access to all user data, flows, stored credentials, and configuration, as well as potential resource exhaustion and service degradation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can disable the CLI command by removing or restricting access to the '/app/.venv/bin/langflow' binary within the Docker container until the package is updated.

Conclusion

The CVE-2025-57760 vulnerability in Langflow poses a significant risk due to its potential for privilege escalation. Users are strongly advised to update their packages to the latest versions to protect against unauthorized access and data compromise.

See every vulnerability recorded for langflow →

Share this vulnerability

FAQ

CVE-2025-57760 is a vulnerability in the Langflow application that allows authenticated users to escalate their privileges to superuser level via a CLI command.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The consequences include unauthorized access to sensitive data, the ability to manipulate user accounts, and potential resource exhaustion of the application.

The CVSS score of this vulnerability is 8.8, indicating a high severity level that requires immediate attention.

Yes, users should update to the latest versions of langflow and langflow-base to mitigate this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for langflow.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback