CVE-2025-57760
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-08-25
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.5 %
higher than 38 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| langflow (PyPI) | < 1.5.1 | Affected | |
| langflow-base (PyPI) | < 0.5.1 | Affected | |
| Langflow | Langflow | < 1.5.0 | Affected |
| Langflow | Langflow | 1.5.0 | Affected |
Weakness type
-
CWE-269: Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1548: Abuse Elevation Control Mechanism
References
- http://github.com/langflow-ai/langflow/pull/9152
- https://github.com/langflow-ai/langflow/commit/c188ec113c9ca46154ad01d0eded1754cc6bef97
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-4gv9-mp8m-592r
Related at Berigo
Articles
-
Unit 42: Chinese speaking actor ran autonomous attacks with an AI agent
Same product
2026-07-31
On 30 July 2026 Unit 42 published a campaign in which a Chinese speaking actor let an AI agent find targets, fetch exploit code and attempt exploitat…
-
AI agent chose targets and switched vulnerability on its own in Chinese campaign
Same product
2026-07-31
Unit 42 describes a Chinese speaking actor who paired the DeepSeek language model with the Hermes Agent framework, and let the setup find targets, pu…
-
Sysdig documents the first observed case of agentic ransomware
Same product
2026-07-01
Sysdig reports on JADEPUFFER, an AI-driven extortion operation that automated the entire attack chain from entry to database encryption.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.