# CVE-2025-57760: PYSEC-2026-1526 - Langflow Vulnerable to Privilege Escalation via CLI Superuser Creation (Post-RCE)

Source: https://junglewise.ai/threats/cve-2025-57760-langflow-vulnerable-to-privilege-escalation-via-cli-superuser  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2025-57760 · Severity: low · CVSS 3.1 · Published 2026-07-07

Langflow Vulnerable to Privilege Escalation via CLI Superuser Creation (Post-RCE)

Technologies: [langflow (PyPI)](https://junglewise.ai/threats/technologies/pypi-langflow), [langflow-base (PyPI)](https://junglewise.ai/threats/technologies/langflow-base). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-57760 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-57760 being exploited in the wild.

**How severe is CVE-2025-57760?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** langflow (PyPI) ECOSYSTEM:introduced=0,fixed=1.5.0, ECOSYSTEM:introduced=0,fixed=1.5.1; langflow-base (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.1.

**Is there a fix for CVE-2025-57760?** Yes. langflow (PyPI): upgrade to 1.5.0, 1.5.1 or later; langflow-base (PyPI): upgrade to 0.5.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-57760?** Check whether you run langflow (PyPI) or langflow-base (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- langflow (PyPI): upgrade to 1.5.0, 1.5.1 or later

  ```sh
  pip install "langflow>=1.5.1"
  ```

- langflow-base (PyPI): upgrade to 0.5.1 or later

  ```sh
  pip install "langflow-base>=0.5.1"
  ```


## Affected products

- langflow (PyPI) ECOSYSTEM:introduced=0,fixed=1.5.0, ECOSYSTEM:introduced=0,fixed=1.5.1
- langflow-base (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.1

## Identifiers

- CVE-2025-57760
- GHSA-4gv9-mp8m-592r
- PYSEC-2025-243
- PYSEC-2026-1526

## Related threats

- [Langflow SSRF in URL-taking components](https://junglewise.ai/threats/langflow-ssrf-in-url-taking-components-protection-disabled-by-default-db7cac37)
- [Langflow IP spoofing in MCP configuration installation](https://junglewise.ai/threats/cve-2026-105741-langflow-is-a-tool-for-building-and-deploying-ai-powered-agents)
- [Langflow path traversal and cross-user disclosure in MCP resources](https://junglewise.ai/threats/cve-2026-105699-langflow-is-a-tool-for-building-and-deploying-ai-powered-agents)
- [Langflow authorization bypass in flow API endpoints](https://junglewise.ai/threats/cve-2026-105698-langflow-is-a-tool-for-building-and-deploying-ai-powered-agents)
- [Langflow MCP stdio command injection](https://junglewise.ai/threats/cve-2026-105697-langflow-is-a-tool-for-building-and-deploying-ai-powered-agents)
