CVE-2026-0770 in langflow
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the exec_globals parameter provided to the validate endpoint. The issue results from the inclusion of a resource from an untrusted control sphere. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-27325.
Affected software: langflow
Scores
- CVSS: 9.8 (critical)
- EPSS: 62.56% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2026-07-21
- Published: 2026-01-23
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade Langflow past 1.10.0 and turn off auto login (CVE-2025-3248, CVE-2026-0770, CVE-2026-9198)
Patch or upgrade. Upgrade Langflow to a release after 1.10.0, where the code validation endpoint no longer runs attacker-supplied Python without authentication. Turning off auto login and keeping Langflow off the internet closes the chain attackers use (auto_login, then validate/code).
Applies to: Langflow before 1.3.0 (CVE-2025-3248, CVE-2026-0770) and Langflow OSS 1.0.0 through 1.10.0 (CVE-2026-9198), self-hosted.
- List every Langflow instance (pip, Docker image langflowai/langflow, IBM watsonx Orchestrate or DataStax Langflow) and note the version shown under Settings or with 'pip show langflow'.
- Upgrade to the newest Langflow release after 1.10.0: 'pip install -U langflow', or pull the newest langflowai/langflow image and recreate the container.
- Set LANGFLOW_AUTO_LOGIN=false and set LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD, then restart Langflow.
- Do not publish Langflow to the internet. Put it behind a VPN or an authenticating reverse proxy and allow only your own admin addresses.
- Rotate every API key and credential stored in Langflow flows and global variables, because an exploited instance exposes them.
- Check the reverse proxy log for POST requests to /api/v1/validate/code and GET requests to /api/v1/auto_login from unknown addresses, and check the host for unknown processes and cron jobs.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.